mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 21:01:48 +07:00
Add 'PyTestReferenceAsStringProvider' for fixtures from pytest.mark.usefixtures attributes. Add new field 'myTextRange' to 'BaseReference' class. It's needed for specify the text range for proper highlighting. For example, to highlight text in a string without quotes. GitOrigin-RevId: 5b9094169b71dd57d9091d6907346ca69f631ef3
9 lines
94 B
Python
9 lines
94 B
Python
import pytest
|
|
|
|
@pytest.fixture
|
|
def tmpdir():
|
|
return 1
|
|
|
|
def test_(tmp<caret>dir):
|
|
pass
|