mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-28 20:22:20 +08:00
Fix selection of what is a pytest fixture and what isn't
This commit is contained in:
@@ -47,6 +47,24 @@ def test_x(MyClassFixture):
|
||||
#?
|
||||
MyClassFixture
|
||||
|
||||
#? 15
|
||||
def lala(my_fixture):
|
||||
pass
|
||||
|
||||
@pytest.fixture
|
||||
#? 15 str()
|
||||
def lala(my_fixture):
|
||||
pass
|
||||
|
||||
#! 15 ['param my_fixture']
|
||||
def lala(my_fixture):
|
||||
pass
|
||||
|
||||
@pytest.fixture
|
||||
#! 15 ['def my_fixture']
|
||||
def lala(my_fixture):
|
||||
pass
|
||||
|
||||
# -----------------
|
||||
# completion
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user