summaryrefslogtreecommitdiffstats
path: root/test/Errors/SyntaxError.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Errors/SyntaxError.py')
-rw-r--r--test/Errors/SyntaxError.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Errors/SyntaxError.py b/test/Errors/SyntaxError.py
index 08539ad..1b7f650 100644
--- a/test/Errors/SyntaxError.py
+++ b/test/Errors/SyntaxError.py
@@ -37,10 +37,8 @@ test.write('SConstruct', """
a ! x
""")
-# It looks like vanilla Python 2.2 is the only version that
-# puts "<string>" here in place of the file name.
test.run(stdout = "scons: Reading SConscript files ...\n",
- stderr = """ File "(.+SConstruct|<string>)", line 2
+ stderr = """ File ".+SConstruct", line 2
a ! x