[py-svn] commit/pytest: hol... at merlinux.eu: fixing the fix of the last commit

Bitbucket commits-noreply at bitbucket.org
Wed Oct 17 13:55:16 CEST 2012


1 new commit in pytest:


https://bitbucket.org/hpk42/pytest/changeset/7e08d8a2ece0/
changeset:   7e08d8a2ece0
user:        hol... at merlinux.eu
date:        2012-10-17 13:45:03
summary:     fixing the fix of the last commit
affected #:  1 file

diff -r 8f712ab4264478a8c6cddc4e5b60b24d546d7bda -r 7e08d8a2ece0dc6b1e42b623b08aafa24399fa9f _pytest/python.py
--- a/_pytest/python.py
+++ b/_pytest/python.py
@@ -1419,7 +1419,7 @@
             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)

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the pytest-commit mailing list