summaryrefslogtreecommitdiffstats
path: root/test/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/errors.py')
-rw-r--r--test/errors.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/errors.py b/test/errors.py
index d4b8d65..04eac9e 100644
--- a/test/errors.py
+++ b/test/errors.py
@@ -46,11 +46,11 @@ raise InternalError, 'error inside'
""")
test.run(chdir = '.', arguments='-f SConstruct3')
expect = r"""Traceback \((most recent call|innermost) last\):
- File "%s", line 163, in \?
+ File "%s", line \d+, in \?
main\(\)
- File "%s", line 153, in main
+ File "%s", line \d+, in main
execfile\(file\)
- File "SConstruct3", line 2, in \?
+ File "SConstruct3", line \d+, in \?
raise InternalError, 'error inside'
InternalError: error inside
""" % (sconspath, sconspath)