Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some tests need to be skipped on threadless systems #56324

Closed
tarekziade mannequin opened this issue May 19, 2011 · 3 comments
Closed

some tests need to be skipped on threadless systems #56324

tarekziade mannequin opened this issue May 19, 2011 · 3 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@tarekziade
Copy link
Mannequin

tarekziade mannequin commented May 19, 2011

BPO 12115
Nosy @tiran, @tarekziade

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/tarekziade'
closed_at = <Date 2013-07-09.11:39:36.486>
created_at = <Date 2011-05-19.13:07:48.557>
labels = ['library']
title = 'some tests need to be skipped on threadless systems'
updated_at = <Date 2013-07-09.11:39:36.484>
user = 'https://github.com/tarekziade'

bugs.python.org fields:

activity = <Date 2013-07-09.11:39:36.484>
actor = 'christian.heimes'
assignee = 'tarek'
closed = True
closed_date = <Date 2013-07-09.11:39:36.486>
closer = 'christian.heimes'
components = ['Library (Lib)']
creation = <Date 2011-05-19.13:07:48.557>
creator = 'tarek'
dependencies = []
files = []
hgrepos = []
issue_num = 12115
keywords = []
message_count = 3.0
messages = ['136287', '136293', '192741']
nosy_count = 4.0
nosy_names = ['christian.heimes', 'tarek', 'alexis', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue12115'
versions = ['Python 3.3', 'Python 3.4']

@tarekziade
Copy link
Mannequin Author

tarekziade mannequin commented May 19, 2011

======================================================================
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'

@tarekziade tarekziade mannequin self-assigned this May 19, 2011
@tarekziade tarekziade mannequin added the stdlib Python modules in the Lib dir label May 19, 2011
@python-dev
Copy link
Mannequin

python-dev mannequin commented May 19, 2011

New changeset 2c01bda139a7 by Tarek Ziade in branch 'default':
Issue bpo-12115: skipping all tests that need threading under a threadless environment
http://hg.python.org/cpython/rev/2c01bda139a7

@tiran
Copy link
Member

tiran commented Jul 9, 2013

I assume that you have fixed it two years ago. Right?

@tiran tiran closed this as completed Jul 9, 2013
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

1 participant