Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d976098

Browse files
author
Victor Stinner
committed
Close #12089: Remove outdated and unused code from regrtest.
1 parent e15dce3 commit d976098

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Lib/test/regrtest.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,10 +1023,6 @@ def __exit__(self, exc_type, exc_val, exc_tb):
10231023

10241024
def runtest_inner(test, verbose, quiet, huntrleaks=False, debug=False):
10251025
support.unload(test)
1026-
if verbose:
1027-
capture_stdout = None
1028-
else:
1029-
capture_stdout = io.StringIO()
10301026

10311027
test_time = 0.0
10321028
refleak = False # True if the test leaked references.

0 commit comments

Comments
 (0)