Issue 11991: test_distutils fails because of bad filename match (original) (raw)
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'