mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-40275: Adding threading_helper submodule in test.support (GH-20263)
This commit is contained in:
parent
7d80b35af1
commit
e80697d687
46 changed files with 483 additions and 428 deletions
|
@ -24,9 +24,10 @@ import textwrap
|
|||
from io import StringIO
|
||||
from collections import namedtuple
|
||||
from test.support.script_helper import assert_python_ok
|
||||
from test.support import threading_helper
|
||||
from test.support import (
|
||||
TESTFN, rmtree,
|
||||
reap_children, reap_threads, captured_output, captured_stdout,
|
||||
reap_children, captured_output, captured_stdout,
|
||||
captured_stderr, unlink, requires_docstrings
|
||||
)
|
||||
from test import pydoc_mod
|
||||
|
@ -1575,7 +1576,7 @@ class TestInternalUtilities(unittest.TestCase):
|
|||
self.assertIsNone(self._get_revised_path(trailing_argv0dir))
|
||||
|
||||
|
||||
@reap_threads
|
||||
@threading_helper.reap_threads
|
||||
def test_main():
|
||||
try:
|
||||
test.support.run_unittest(PydocDocTest,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue