Issue #28480: Adjust or skip tests if multithreading is disabled

This commit is contained in:
Martin Panter 2016-10-20 05:10:44 +00:00
parent fa27d5f229
commit 94332cba0f
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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)