[py-svn] commit/pytest: hpk42: fix internal test setup failure

Bitbucket commits-noreply at bitbucket.org
Thu Jun 21 11:30:19 CEST 2012


1 new commit in pytest:


https://bitbucket.org/hpk42/pytest/changeset/bc2690555863/
changeset:   bc2690555863
user:        hpk42
date:        2012-06-21 11:30:10
summary:     fix internal test setup failure
affected #:  1 file

diff -r 07e63ecf9c174c05d81344f67e22f047a7a6e541 -r bc2690555863e75d66ca3fcaf5ca78eb6cd15887 testing/conftest.py
--- a/testing/conftest.py
+++ b/testing/conftest.py
@@ -46,6 +46,7 @@
         config._numfiles = len(lines2)
         raise AssertionError("\n".join(error))
 
+ at pytest.mark.tryfirst # XXX rather do item.addfinalizer
 def pytest_runtest_setup(item):
     item._oldir = py.path.local()

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