New submission from Arfrever Frehtes Taifersar Arahesis: test.test_coroutines.CoroAsyncIOCompatTest.test_asyncio_1() fails with --without-threads, because it imports asyncio module, which is known to not work with --without-threads. This test should be skipped when import of asyncio fails.
====================================================================== ERROR: test_asyncio_1 (test.test_coroutines.CoroAsyncIOCompatTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/cpython/Lib/test/test_coroutines.py", line 1325, in test_asyncio_1 import asyncio File "/tmp/cpython/Lib/asyncio/__init__.py", line 21, in <module> from .base_events import * File "/tmp/cpython/Lib/asyncio/base_events.py", line 18, in <module> import concurrent.futures File "/tmp/cpython/Lib/concurrent/futures/__init__.py", line 8, in <module> from concurrent.futures._base import (FIRST_COMPLETED, File "/tmp/cpython/Lib/concurrent/futures/_base.py", line 8, in <module> import threading File "/tmp/cpython/Lib/threading.py", line 4, in <module> import _thread ImportError: No module named '_thread' ---------------------------------------------------------------------- ---------- components: Tests messages: 252735 nosy: Arfrever, giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov priority: normal severity: normal status: open title: test_coroutines fails with --without-threads versions: Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25367> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com