From: Victor Stinner Date: Wed, 6 Jun 2018 21:33:31 +0000 (+0200) Subject: bpo-31731: test_io hangs with --huntrleaks: exclude it (GH-7459) X-Git-Tag: v2.7.16rc1~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02b4d67a38b0c17d87749eeefc51e91baef10857;p=thirdparty%2FPython%2Fcpython.git bpo-31731: test_io hangs with --huntrleaks: exclude it (GH-7459) test_io hangs with --huntrleaks: exclude the test in regrtest. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index d19be8878a46..97ba2ad71ac4 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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