We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f8f19a + e71b906 commit 2367074Copy full SHA for 2367074
1 file changed
tests/test_pytest_mypy.py
@@ -279,7 +279,10 @@ def pyfunc(x: int) -> str:
279
def pytest_collection_modifyitems(session, config, items):
280
plugin = config.pluginmanager.getplugin('mypy')
281
items.append(
282
- plugin.MypyFileItem(py.path.local('good.py'), session),
+ plugin.MypyFileItem.from_parent(
283
+ parent=session,
284
+ name=str(py.path.local('good.py')),
285
+ ),
286
)
287
''')
288
name = 'empty'
0 commit comments