changeset: 104577:7cb86d404866 branch: 3.6 user: Martin Panter date: Thu Oct 20 05:10:44 2016 +0000 files: Lib/test/test_asyncgen.py Lib/test/test_logging.py description: Issue #28480: Adjust or skip tests if multithreading is disabled diff -r 9316b4ebf3fa -r 7cb86d404866 Lib/test/test_asyncgen.py --- a/Lib/test/test_asyncgen.py Thu Oct 20 00:48:23 2016 +0000 +++ b/Lib/test/test_asyncgen.py Thu Oct 20 05:10:44 2016 +0000 @@ -1,4 +1,3 @@ -import asyncio import inspect import sys import types @@ -6,6 +5,9 @@ from unittest import mock +from test.support import import_module +asyncio = import_module("asyncio") + class AwaitException(Exception): pass diff -r 9316b4ebf3fa -r 7cb86d404866 Lib/test/test_logging.py --- a/Lib/test/test_logging.py Thu Oct 20 00:48:23 2016 +0000 +++ b/Lib/test/test_logging.py Thu Oct 20 05:10:44 2016 +0000 @@ -4304,7 +4304,7 @@ 'logProcesses', 'currentframe', 'PercentStyle', 'StrFormatStyle', 'StringTemplateStyle', 'Filterer', 'PlaceHolder', 'Manager', 'RootLogger', - 'root'} + 'root', 'threading'} support.check__all__(self, logging, blacklist=blacklist)