summaryrefslogtreecommitdiff
path: root/cherrypy/test/benchmark.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-10-27 22:40:48 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-10-27 22:40:48 -0400
commita46d9840330786cb947a0613bf47878a24ddb572 (patch)
treee998a2b6152819fc05e1cd73715cfd8dba37c532 /cherrypy/test/benchmark.py
parent501ffc9ed76c93488872b145004532f36e8b9513 (diff)
downloadcherrypy-git-a46d9840330786cb947a0613bf47878a24ddb572.tar.gz
Feed the hobgoblins (delint).
Diffstat (limited to 'cherrypy/test/benchmark.py')
-rw-r--r--cherrypy/test/benchmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cherrypy/test/benchmark.py b/cherrypy/test/benchmark.py
index 2d306003..5bfcf699 100644
--- a/cherrypy/test/benchmark.py
+++ b/cherrypy/test/benchmark.py
@@ -222,7 +222,7 @@ Finished 1000 requests
# Parse output of ab, setting attributes on self
try:
self.output = _cpmodpy.read_process(AB_PATH or 'ab', self.args())
- except:
+ except Exception:
print(_cperror.format_exc())
raise
@@ -390,7 +390,7 @@ if __name__ == '__main__':
try:
try:
run_standard_benchmarks()
- except:
+ except Exception:
print(_cperror.format_exc())
raise
finally: