[New-bugs-announce] [issue11991] test_distutils fails because of bad filename match

Piotr Husiatyński report at bugs.python.org
Tue May 3 23:28:04 CEST 2011


New submission from Piotr Husiatyński <phusiatynski at gmail.com>:

I'm using Arch Linux, which instead of compress, provides symlink to gzip (AFAIK this will be replaced with xz). Because of that, instead of .Z extension, .gz is being used to create compressed file name.

$ ./python -m test test_distutils
[1/1] test_distutils
test test_distutils failed -- Traceback (most recent call last):
  File "/mnt/sda5/Projekty/cpython/Lib/distutils/tests/test_archive_util.py", line 165, in test_compress_deprecated
    self.assertTrue(os.path.exists(tarball))
AssertionError: False is not true

1 test failed:
    test_distutils
[1]    4874 exit 1     ./python -m test test_distutils
$ whereis compress
compress: /bin/compress /usr/share/man/man1/compress.1p.gz
$ file /bin/compress
/bin/compress: symbolic link to `gzip'

----------
assignee: tarek
components: Distutils, Tests
messages: 135077
nosy: Husio, eric.araujo, tarek
priority: normal
severity: normal
status: open
title: test_distutils fails because of bad filename match
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11991>
_______________________________________


More information about the New-bugs-announce mailing list