[py-svn] r57757 - py/trunk/py/code/testing

hpk at codespeak.net hpk at codespeak.net
Tue Sep 2 14:45:53 CEST 2008


Author: hpk
Date: Tue Sep  2 14:45:50 2008
New Revision: 57757

Modified:
   py/trunk/py/code/testing/test_excinfo.py
Log:
adapt output checking test for slightly different output


Modified: py/trunk/py/code/testing/test_excinfo.py
==============================================================================
--- py/trunk/py/code/testing/test_excinfo.py	(original)
+++ py/trunk/py/code/testing/test_excinfo.py	Tue Sep  2 14:45:50 2008
@@ -215,7 +215,7 @@
     except ValueError: 
         excinfo = py.code.ExceptionInfo()
     s = str(excinfo.traceback[-1])
-    assert s == "  File '<string>':1 in <module>\n  ???\n"
+    assert s == "  File '<string>':1 in ?\n  ???\n"
 
 def test_entrysource_Queue_example():
     import Queue



More information about the pytest-commit mailing list