summaryrefslogtreecommitdiff
path: root/tests/pkgs/subrequestapp
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-10-15 02:09:05 -0500
committerMichael Merickel <michael@merickel.org>2018-10-15 09:24:07 -0500
commit4d838f06d0e6d27e34b766fc5c34a8283ff31b38 (patch)
treecbfe222692f8d80edd865ddc3d2070ab23211b69 /tests/pkgs/subrequestapp
parent0c29cf2df41600d3906d521c72991c7686018b71 (diff)
downloadpyramid-4d838f06d0e6d27e34b766fc5c34a8283ff31b38.tar.gz
pyramid-4d838f06d0e6d27e34b766fc5c34a8283ff31b38.tar.bz2
pyramid-4d838f06d0e6d27e34b766fc5c34a8283ff31b38.zip
remove bare excepts
Diffstat (limited to 'tests/pkgs/subrequestapp')
-rw-r--r--tests/pkgs/subrequestapp/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pkgs/subrequestapp/__init__.py b/tests/pkgs/subrequestapp/__init__.py
index 261af6434..177f5637b 100644
--- a/tests/pkgs/subrequestapp/__init__.py
+++ b/tests/pkgs/subrequestapp/__init__.py
@@ -17,7 +17,7 @@ def view_three(request):
subreq = Request.blank('/view_four')
try:
return request.invoke_subrequest(subreq, use_tweens=True)
- except: # pragma: no cover
+ except Exception: # pragma: no cover
request.response.body = b'Value error raised'
return request.response