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: test_logging fails when no ssl available
Type: behavior Stage: needs patch
Components: Library (Lib), Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: vinay.sajip Nosy List: pitrou, python-dev, vinay.sajip
Priority: normal Keywords:

Created on 2011-05-21 15:41 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg136453 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-05-21 15:41
======================================================================
ERROR: test_output (test.test_logging.HTTPHandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/test/test_logging.py", line 1529, in test_output
    import ssl
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/importlib/_bootstrap.py", line 437, in load_module
    return self._load_module(fullname)
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/importlib/_bootstrap.py", line 141, in decorated
    return fxn(self, module, *args, **kwargs)
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/importlib/_bootstrap.py", line 342, in _load_module
    exec(code_object, module.__dict__)
  File "/home2/buildbot/slave/3.x.loewis-sun/build/Lib/ssl.py", line 60, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: No module named '_ssl'
msg136454 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-05-21 15:46
New changeset 2be3ffa82293 by Vinay Sajip in branch 'default':
Issue #12136: Added change to handle non-availability of the ssl module.
http://hg.python.org/cpython/rev/2be3ffa82293
History
Date User Action Args
2022-04-11 14:57:17adminsetgithub: 56345
2011-05-24 06:11:17vinay.sajipsetstatus: open -> closed
resolution: fixed
2011-05-21 15:46:48python-devsetnosy: + python-dev
messages: + msg136454
2011-05-21 15:41:07pitroucreate