Message326428
two distutils tests fail when running the tests from an installed location. 3.7 branch 20180925, succeeded with a 20180911 snapshot. Is there any locale setting required?
======================================================================
ERROR: test_non_ascii (distutils.tests.test_log.TestLog) (errors='surrogateescape')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.7/distutils/tests/test_log.py", line 26, in test_non_ascii
log.debug('Dεbug\tMėssãge')
File "/usr/lib/python3.7/distutils/log.py", line 41, in debug
self._log(DEBUG, msg, args)
File "/usr/lib/python3.7/distutils/log.py", line 34, in _log
stream.write('%s\n' % msg)
File "/usr/lib/python3.7/encodings/cp437.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_map)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u0117' in position 7: character maps to <undefined>
======================================================================
ERROR: test_find_executable (distutils.tests.test_spawn.SpawnTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.7/distutils/tests/test_spawn.py", line 95, in test_find_executable
rv = find_executable(program)
File "/usr/lib/python3.7/distutils/spawn.py", line 176, in find_executable
path = os.environ['PATH']
File "/usr/lib/python3.7/os.py", line 678, in __getitem__
raise KeyError(key) from None
KeyError: 'PATH'
---------------------------------------------------------------------- |
|
Date |
User |
Action |
Args |
2018-09-26 08:06:20 | doko | set | recipients:
+ doko, ncoghlan, vstinner, eric.araujo, dstufft |
2018-09-26 08:06:20 | doko | set | messageid: <1537949180.44.0.545547206417.issue34806@psf.upfronthosting.co.za> |
2018-09-26 08:06:20 | doko | link | issue34806 messages |
2018-09-26 08:06:20 | doko | create | |
|