diff --git a/py/code/testing/test_excinfo.py b/py/code/testing/test_excinfo.py index 73cef7394..bed7dcb52 100644 --- a/py/code/testing/test_excinfo.py +++ b/py/code/testing/test_excinfo.py @@ -215,7 +215,7 @@ def test_excinfo_no_sourcecode(): except ValueError: excinfo = py.code.ExceptionInfo() s = str(excinfo.traceback[-1]) - assert s == " File '':1 in \n ???\n" + assert s == " File '':1 in ?\n ???\n" def test_entrysource_Queue_example(): import Queue