aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_exceptions.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-04-21 09:24:45 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-04-21 09:24:45 -0400
commitfd74079e7b98ac5f5f37423f89d7fad4e4de4c8f (patch)
treea338e9a6c8ad03aba997ca1c3d57a4466d47b499 /test/test_exceptions.py
parent32aed330f5c586f75584a37cdc0d2b8c25c3d9b8 (diff)
downloadexternal_python_mako-fd74079e7b98ac5f5f37423f89d7fad4e4de4c8f.tar.gz
external_python_mako-fd74079e7b98ac5f5f37423f89d7fad4e4de4c8f.tar.bz2
external_python_mako-fd74079e7b98ac5f5f37423f89d7fad4e4de4c8f.zip
fix test to use correct parameter
Diffstat (limited to 'test/test_exceptions.py')
-rw-r--r--test/test_exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_exceptions.py b/test/test_exceptions.py
index ab2f8e4..6588020 100644
--- a/test/test_exceptions.py
+++ b/test/test_exceptions.py
@@ -147,10 +147,10 @@ ${foobar}
try:
raise RuntimeError("error 2")
except:
- html_error = exceptions.html_error_template().render_unicode(error=t, traceback=tback)
+ html_error = exceptions.html_error_template().render_unicode(error=v, traceback=tback)
# obfuscate the text so that this text
# isn't in the 'wrong' exception
assert "".join(reversed(")'rab'(oof")) in html_error
- \ No newline at end of file
+