summaryrefslogtreecommitdiffstats
path: root/test/option/debug-stacktrace.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option/debug-stacktrace.py')
-rw-r--r--test/option/debug-stacktrace.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option/debug-stacktrace.py b/test/option/debug-stacktrace.py
index aff25f2..cf7b81d 100644
--- a/test/option/debug-stacktrace.py
+++ b/test/option/debug-stacktrace.py
@@ -51,7 +51,7 @@ def must_contain_all_lines(content, lines):
test.write('SConstruct', """\
def kfile_scan(node, env, target):
- raise "kfile_scan error"
+ raise Exception, "kfile_scan error"
kscan = Scanner(name = 'kfile',
function = kfile_scan,
@@ -74,7 +74,7 @@ test.run(arguments = "--debug=stacktrace",
lines = [
"scons: *** kfile_scan error",
"scons: internal stack trace:",
- 'raise "kfile_scan error"',
+ 'raise Exception, "kfile_scan error"',
]
err = must_contain_all_lines(test.stderr(), lines)