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.

Author henry.precheur
Recipients alexis, eric.araujo, henry.precheur, tarek
Date 2011-06-27.14:10:12
SpamBayes Score 2.8255176e-14
Marked as misclassified No
Message-id <>
In-reply-to <>
Sorry "crash" wasn't the right term. It's just that distutils tests fail.

I ran into that when trying to run unit tests without any environment
variable (see #12401).

$ env -i ./python ./Lib/test/ test_distutils
[1/1] test_distutils
test test_distutils crashed -- Traceback (most recent call last):
  File "./Lib/test/", line 987, in runtest_inner
  File "/home/henry/code/cpython/Lib/test/", line 13, in test_main
  File "/home/henry/code/cpython/Lib/distutils/tests/", line 29, in test_suite
  File "/home/henry/code/cpython/Lib/distutils/tests/", line 33, in <module>
  File "/home/henry/code/cpython/Lib/distutils/tests/", line 96, in ArchiveUtilTestCase
    @unittest.skipUnless(find_executable('tar') and find_executable('gzip')
  File "/home/henry/code/cpython/Lib/distutils/", line 154, in find_executable
    path = os.environ['PATH']
  File "/home/henry/code/cpython/Lib/", line 450, in __getitem__
    value = self._data[self.encodekey(key)]
KeyError: b'PATH'

1 test failed:
[98227 refs]

Maybe it's not really a problem, and having a system without PATH
defined shouldn't be supported because it's too "weird".
Date User Action Args
2011-06-27 14:10:12henry.precheursetrecipients: + henry.precheur, tarek, eric.araujo, alexis
2011-06-27 14:10:12henry.precheurlinkissue12420 messages
2011-06-27 14:10:12henry.precheurcreate