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_distutils fails because of bad filename match
Type: Stage: resolved
Components: Distutils, Tests Versions: Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder: test_distutils fails because of borked compress program
View: 11340
Assigned To: tarek Nosy List: Husio, eric.araujo, tarek
Priority: normal Keywords:

Created on 2011-05-03 21:28 by Husio, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg135077 - (view) Author: Piotr Husiatyński (Husio) Date: 2011-05-03 21:28
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'
msg135137 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-05-04 16:06
Closing as duplicate.  Please join the discussion at #11340 if you have feedback or a patch :)
History
Date User Action Args
2022-04-11 14:57:16adminsetgithub: 56200
2011-05-04 16:06:04eric.araujosetstatus: open -> closed
resolution: duplicate
messages: + msg135137

superseder: test_distutils fails because of borked compress program
stage: resolved
2011-05-03 21:28:02Husiocreate