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 if zlib is not present
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: eric.smith Nosy List: eric.smith, kroger, python-dev
Priority: normal Keywords: easy, patch

Created on 2012-03-12 01:24 by eric.smith, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue14256.diff kroger, 2012-03-12 01:46 review
Messages (3)
msg155425 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2012-03-12 01:24
Presumably this needs to use requires_zlib.

$ time ./python -m test test_logging
[1/1] test_logging
test test_logging crashed -- Traceback (most recent call last):
  File "/home/eric/local/python/cpython/Lib/test/regrtest.py", line 1229, in runtest_inner
    the_package = __import__(abstest, globals(), locals(), [])
  File "/home/eric/local/python/cpython/Lib/test/test_logging.py", line 49, in <module>
    import zlib
ImportError: No module named 'zlib'

1 test failed:
    test_logging
[111665 refs]
msg155430 - (view) Author: Pedro Kroger (kroger) Date: 2012-03-12 01:46
Attached patch to fix this issue.
msg155443 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-03-12 05:47
New changeset 4b54a686541f by Eric V. Smith in branch 'default':
Make test_logging no longer fail if zlib not present. Closes #14256. Patch by Pedro Kroger.
http://hg.python.org/cpython/rev/4b54a686541f
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58464
2012-03-12 05:47:35python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg155443

resolution: fixed
stage: patch review -> resolved
2012-03-12 05:42:47eric.smithsettype: behavior
stage: patch review
2012-03-12 05:42:24eric.smithsetassignee: eric.smith
2012-03-12 01:46:09krogersetfiles: + issue14256.diff

nosy: + kroger
messages: + msg155430

keywords: + patch
2012-03-12 01:24:16eric.smithcreate