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 b24e581..f21fdfa 100644
--- a/test/exceptions.py
+++ b/test/exceptions.py
@@ -43,9 +43,10 @@ test.write('foo.in', "foo.in\n")
test.run(arguments = "foo.out", stderr = """scons: \*\*\* \[foo.out\] Exception
Traceback \((most recent call|innermost) last\):
- File ".+", line \d+, in .+
- File ".+", line \d+, in .+
- File ".+", line \d+, in .+
+ File ".+", line \d+, in \S+
+ [^\n]+
+ File ".+", line \d+, in \S+
+ [^\n]+
File "SConstruct", line 3, in func
raise "func exception"
func exception