From cf17f1d6288bc13cd3b35627f48a7172b5849cb8 Mon Sep 17 00:00:00 2001 From: "holger@merlinux.eu" Date: Wed, 17 Oct 2012 13:45:03 +0200 Subject: [PATCH] fixing the fix of the last commit --- _pytest/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/python.py b/_pytest/python.py index 8f50da133..51b158ad1 100644 --- a/_pytest/python.py +++ b/_pytest/python.py @@ -1419,7 +1419,7 @@ class FixtureManager: if p.basename.startswith("conftest.py"): nodeid = p.dirpath().relto(self.session.fspath) if p.sep != "/": - nodeid.replace(p.sep, "/") + nodeid = nodeid.replace(p.sep, "/") self.parsefactories(plugin, nodeid) self._seenplugins.add(plugin)