Commit 02b4d67a authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-31731: test_io hangs with --huntrleaks: exclude it (GH-7459)

test_io hangs with --huntrleaks: exclude the test in regrtest.
parent 67b7158d
......@@ -577,6 +577,12 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
nottests.add(arg)
args = []
if huntrleaks:
# FIXME: bpo-31731: test_io hangs with --huntrleaks
print("Warning: bpo-31731: test_io hangs with --huntrleaks: "
"exclude the test")
nottests.add('test_io')
display_header = (verbose or header or not (quiet or single or tests or args)) and (not pgo)
alltests = findtests(testdir, stdtests, nottests)
selected = tests or args or alltests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment