summaryrefslogtreecommitdiffstats
path: root/test/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/errors.py')
-rw-r--r--test/errors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/errors.py b/test/errors.py
index 65dc372..3c8663b 100644
--- a/test/errors.py
+++ b/test/errors.py
@@ -33,9 +33,9 @@ test.write('SConstruct3', """
raise InternalError, 'error inside'
""")
test.run(arguments='-f SConstruct3', stderr = r"""Traceback \((most recent call|innermost) last\):
- File ".*scons", line \d+, in \?
+ File ".*scons(\.py)?", line \d+, in \?
main\(\)
- File ".*scons", line \d+, in main
+ File ".*scons(\.py)?", line \d+, in main
exec f in globals\(\)
File "SConstruct3", line \d+, in \?
raise InternalError, 'error inside'