1
0
forked from VimPlug/jedi

Make sure pytest stdlib fixtures are completable

This commit is contained in:
Dave Halter
2019-12-27 16:28:07 +01:00
parent e86487cb96
commit 35fb8a942c
2 changed files with 11 additions and 1 deletions

View File

@@ -6,7 +6,10 @@ from jedi.inference.filters import ParserTreeFilter
from jedi.inference.base_value import NO_VALUES, ValueSet
_PYTEST_FIXTURE_MODULES = [
('_pytest', 'monkeypatch')
('_pytest', 'monkeypatch'),
('_pytest', 'capture'),
('_pytest', 'logging'),
('_pytest', 'tmpdir'),
]

View File

@@ -129,3 +129,10 @@ def test_p(monkeyp
def test_p(monkeypatch):
#? ['setattr']
monkeypatch.setatt
#? ['capsysbinary']
def test_p(capsysbin
#? ['tmpdir', 'tmpdir_factory']
def test_p(tmpdi