diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-03 00:21:35 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-03 00:21:35 (GMT) |
commit | 46d75353c5688e0273ca90efcbdb61687c085a80 (patch) | |
tree | 62d4c1a3efd858048b2485411cf2481e55e0337b /Lib/test/test_regrtest.py | |
parent | eb36fdaad8bd38c60973eb69b1307315fa950372 (diff) | |
download | cpython-46d75353c5688e0273ca90efcbdb61687c085a80.zip cpython-46d75353c5688e0273ca90efcbdb61687c085a80.tar.gz cpython-46d75353c5688e0273ca90efcbdb61687c085a80.tar.bz2 |
Issue #18174: Fix test_regrtest when Python is compiled in release mode
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r-- | Lib/test/test_regrtest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index e15e724..e0307a8 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -642,6 +642,7 @@ class ArgsTestCase(BaseTestCase): output = self.run_tests('--forever', test, exitcode=1) self.check_executed_tests(output, [test]*3, failed=test) + @unittest.skipUnless(Py_DEBUG, 'need a debug build') def test_huntrleaks_fd_leak(self): # test --huntrleaks for file descriptor leak code = textwrap.dedent(""" |