mirror of https://github.com/python/cpython
Issue #28480: Adjust or skip tests if multithreading is disabled
This commit is contained in:
parent
fa27d5f229
commit
94332cba0f
|
@ -1,4 +1,3 @@
|
|||
import asyncio
|
||||
import inspect
|
||||
import sys
|
||||
import types
|
||||
|
@ -6,6 +5,9 @@ import unittest
|
|||
|
||||
from unittest import mock
|
||||
|
||||
from test.support import import_module
|
||||
asyncio = import_module("asyncio")
|
||||
|
||||
|
||||
class AwaitException(Exception):
|
||||
pass
|
||||
|
|
|
@ -4304,7 +4304,7 @@ class MiscTestCase(unittest.TestCase):
|
|||
'logProcesses', 'currentframe',
|
||||
'PercentStyle', 'StrFormatStyle', 'StringTemplateStyle',
|
||||
'Filterer', 'PlaceHolder', 'Manager', 'RootLogger',
|
||||
'root'}
|
||||
'root', 'threading'}
|
||||
support.check__all__(self, logging, blacklist=blacklist)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue