summaryrefslogtreecommitdiff
path: root/webtest
diff options
context:
space:
mode:
authorianb <devnull@localhost>2007-09-22 17:10:25 +0000
committerianb <devnull@localhost>2007-09-22 17:10:25 +0000
commit418ec532d8dda7b0095b6292df454376e608fc08 (patch)
treec46022ea818b2d10fce38e174841fefb03b6ac22 /webtest
parent4cc144a74e846bd6d0a41f38f44a5ae55dc9c8ef (diff)
downloadwebtest-418ec532d8dda7b0095b6292df454376e608fc08.tar.gz
Don't force WebOb to raise exc_info
Diffstat (limited to 'webtest')
-rw-r--r--webtest/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/webtest/__init__.py b/webtest/__init__.py
index 021c181..685523a 100644
--- a/webtest/__init__.py
+++ b/webtest/__init__.py
@@ -295,7 +295,8 @@ class TestApp(object):
try:
sys.stdout = out
start_time = time.time()
- res = req.get_response(app)
+ ## FIXME: should it be an option to not catch exc_info?
+ res = req.get_response(app, catch_exc_info=True)
end_time = time.time()
finally:
sys.stdout = old_stdout