summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_asyncio/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/__init__.py b/Lib/test/test_asyncio/__init__.py
index ec483ea..024d3e1 100644
--- a/Lib/test/test_asyncio/__init__.py
+++ b/Lib/test/test_asyncio/__init__.py
@@ -3,6 +3,11 @@ import sys
import unittest
from test.support import run_unittest
+try:
+ import threading
+except ImportError:
+ raise unittest.SkipTest("No module named '_thread'")
+
def suite():
tests_file = os.path.join(os.path.dirname(__file__), 'tests.txt')