This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: some tests need to be skipped on threadless systems
Type: Stage:
Components: Library (Lib) Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: tarek Nosy List: alexis, christian.heimes, python-dev, tarek
Priority: normal Keywords:

Created on 2011-05-19 13:07 by tarek, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg136287 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2011-05-19 13:07
======================================================================
ERROR: packaging.tests.test_command_upload_docs (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/unittest/case.py", line 407, in _executeTestPart
    function()
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/unittest/loader.py", line 32, in testFailure
    raise exception
ImportError: Failed to import test module: packaging.tests.test_command_upload_docs
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/unittest/loader.py", line 257, in _find_tests
    module = self._get_module_from_name(name)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/unittest/loader.py", line 235, in _get_module_from_name
    __import__(name)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/packaging/tests/test_command_upload_docs.py", line 14, in <module>
    from packaging.tests.pypi_server import PyPIServerTestCase
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/packaging/tests/pypi_server.py", line 36, in <module>
    import threading
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/importlib/_bootstrap.py", line 437, in load_module
    return self._load_module(fullname)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/importlib/_bootstrap.py", line 141, in decorated
    return fxn(self, module, *args, **kwargs)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/importlib/_bootstrap.py", line 342, in _load_module
    exec(code_object, module.__dict__)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/Lib/threading.py", line 4, in <module>
    import _thread
ImportError: No module named '_thread'
msg136293 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-05-19 13:27
New changeset 2c01bda139a7 by Tarek Ziade in branch 'default':
Issue #12115: skipping all tests that need threading under a threadless environment
http://hg.python.org/cpython/rev/2c01bda139a7
msg192741 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-07-09 11:39
I assume that you have fixed it two years ago. Right?
History
Date User Action Args
2022-04-11 14:57:17adminsetgithub: 56324
2013-07-09 11:39:36christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg192741

resolution: fixed
2011-05-19 13:27:44python-devsetnosy: + python-dev
messages: + msg136293
2011-05-19 13:07:48tarekcreate