mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-11 18:39:12 +08:00
Fix selection of what is a pytest fixture and what isn't
This commit is contained in:
1 parent
4c22f4dbb1
commit
7715655c96
2 files changed
+50
-13
No files matched your search
@@ -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