summaryrefslogtreecommitdiffstats
path: root/test/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/exceptions.py')
-rw-r--r--test/exceptions.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/exceptions.py b/test/exceptions.py
index 7b45a4b..584d4f1 100644
--- a/test/exceptions.py
+++ b/test/exceptions.py
@@ -46,11 +46,12 @@ test.write('foo.in', "foo.in\n")
expected_stderr = """scons: \*\*\* \[foo.out\] Exception
Traceback \((most recent call|innermost) last\):
- File ".+", line \d+, in \S+
+( File ".+", line \d+, in \S+
[^\n]+
- File ".+", line \d+, in \S+
+)*( File ".+", line \d+, in \S+
+)*( File ".+", line \d+, in \S+
[^\n]+
- File "SConstruct", line 3, in func
+)* File "SConstruct", line 3, in func
raise "func exception"
func exception
"""