[issue14256] test_logging fails if zlib is not present

Eric V. Smith report at bugs.python.org
Mon Mar 12 02:24:17 CET 2012

New submission from Eric V. Smith <eric at trueblade.com>:

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:
[111665 refs]

components: Tests
keywords: easy
messages: 155425
nosy: eric.smith
priority: normal
severity: normal
status: open
title: test_logging fails if zlib is not present
versions: Python 3.3

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list