diff --git a/_pytest/fixtures.py b/_pytest/fixtures.py index c62e9185a..9b2abc94f 100644 --- a/_pytest/fixtures.py +++ b/_pytest/fixtures.py @@ -1143,7 +1143,7 @@ class FixtureManager: Return values are lists e.g. [''] ['testing', 'code'] - ['testing', 'code', test_excinfo.py'] + ['testing', 'code', 'test_excinfo.py'] ['testing', 'code', 'test_excinfo.py', 'TestFormattedExcinfo', '()'] """ parts = nodeid.split(py.path.local.sep)