mirror of
https://github.com/python/cpython.git
synced 2025-12-09 10:37:17 +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
|
|
@ -31,6 +31,7 @@ import uuid
|
|||
import warnings
|
||||
from test import support
|
||||
from test.support import socket_helper
|
||||
from test.support import threading_helper
|
||||
from platform import win32_is_iot
|
||||
|
||||
try:
|
||||
|
|
@ -3163,12 +3164,12 @@ class TestSendfile(unittest.TestCase):
|
|||
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.key = support.threading_setup()
|
||||
cls.key = threading_helper.threading_setup()
|
||||
create_file(support.TESTFN, cls.DATA)
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
support.threading_cleanup(*cls.key)
|
||||
threading_helper.threading_cleanup(*cls.key)
|
||||
support.unlink(support.TESTFN)
|
||||
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue