[py-svn] r57278 - py/branch/event/py/test2/report/testing
hpk at codespeak.net
hpk at codespeak.net
Fri Aug 15 14:45:10 CEST 2008
Author: hpk
Date: Fri Aug 15 14:45:09 2008
New Revision: 57278
Modified:
py/branch/event/py/test2/report/testing/test_collectonly.py
Log:
fix bug uncovered by fresh instances
Modified: py/branch/event/py/test2/report/testing/test_collectonly.py
==============================================================================
--- py/branch/event/py/test2/report/testing/test_collectonly.py (original)
+++ py/branch/event/py/test2/report/testing/test_collectonly.py Fri Aug 15 14:45:09 2008
@@ -41,7 +41,7 @@
def test_collectonly_failed_module(self):
modcol = self.getmodulecol(configargs=['--collectonly'], source="""
raise ValueError(0)
- """)
+ """, withsession=True)
stringio = py.std.cStringIO.StringIO()
rep = CollectonlyReporter(modcol._config, bus=self.session.bus, out=stringio)
cols = list(self.session.genitems([modcol]))
More information about the pytest-commit
mailing list