Commit 7058dad0 authored by Guido van Rossum's avatar Guido van Rossum

Skip the asyncio tests when threads are not available.

See http://bugs.python.org/issue19295
parent 0f5bff24
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment