mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
This commit is contained in:
parent
ba9ac5b5c4
commit
e98209c2b4
5 changed files with 0 additions and 14 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue