mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #18174: Fix test_regrtest when Python is compiled in release mode
This commit is contained in:
parent
eb36fdaad8
commit
46d75353c5
1 changed files with 1 additions and 0 deletions
|
|
@ -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("""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue