Fix 6341 disallow session config in fromparent (#6387)
Fix 6341 disallow session config in fromparent
This commit is contained in:
@@ -284,7 +284,7 @@ class TestFunction:
|
||||
session = testdir.Session.from_config(config)
|
||||
session._fixturemanager = FixtureManager(session)
|
||||
|
||||
return pytest.Function.from_parent(config=config, parent=session, **kwargs)
|
||||
return pytest.Function.from_parent(parent=session, **kwargs)
|
||||
|
||||
def test_function_equality(self, testdir):
|
||||
def func1():
|
||||
|
||||
Reference in New Issue
Block a user