summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-20 13:10:04 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-20 13:10:04 (GMT)
commite98209c2b446205547e2298b7e6300098cfa578e (patch)
treea79fc004850e681d3a31b0175ad3568ef1a45f08 /Lib/test/regrtest.py
parentba9ac5b5c42a9bba54942211a3b00a1c3ce7bb23 (diff)
downloadcpython-e98209c2b446205547e2298b7e6300098cfa578e.zip
cpython-e98209c2b446205547e2298b7e6300098cfa578e.tar.gz
cpython-e98209c2b446205547e2298b7e6300098cfa578e.tar.bz2
Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 7123ffb..5b1fcc6 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -765,8 +765,6 @@ def main(tests=None, **kwargs):
except KeyboardInterrupt:
interrupted = True
break
- except:
- raise
if ns.findleaks:
gc.collect()
if gc.garbage:
@@ -823,8 +821,6 @@ def main(tests=None, **kwargs):
# print a newline separate from the ^C
print()
break
- except:
- raise
if ns.single:
if next_single_test: