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 mark.dickinson
Recipients loewis, mark.dickinson
Date 2009-05-05.18:09:00
SpamBayes Score 1.2770229e-11
Marked as misclassified No
Message-id <1241546943.39.0.445106495608.issue5944@psf.upfronthosting.co.za>
In-reply-to
Content
One other piece of information that may be relevant:

Macintosh-4:py3k dickinsm$ echo $LANG
en_US.UTF-8

If I unset the LANG environment variable then I get a different failure  
(see output below).

I'll investigate this further and see if I can figure out what's going 
wrong.



test_setreuid (__main__.PosixUidGidTests) ... ok
test_setuid (__main__.PosixUidGidTests) ... ok
test_listdir (__main__.Pep383Tests) ... FAIL
test_open (__main__.Pep383Tests) ... ok
test_stat (__main__.Pep383Tests) ... ok

======================================================================
FAIL: test_listdir (__main__.Pep383Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_os.py", line 758, in <module>
    test_main()
  File "Lib/test/test_os.py", line 754, in test_main
    Pep383Tests
  File "/Users/dickinsm/svn/python/py3k/Lib/test/support.py", line 878, 
in run_unittest
    _run_suite(suite)
  File "/Users/dickinsm/svn/python/py3k/Lib/test/support.py", line 853, 
in _run_suite
    result = runner.run(suite)
  File "/Users/dickinsm/svn/python/py3k/Lib/unittest.py", line 1455, in 
run
    result.printErrors()
  File "/Users/dickinsm/svn/python/py3k/Lib/unittest.py", line 1424, in 
printErrors
    self.printErrorList('FAIL', self.failures)
  File "/Users/dickinsm/svn/python/py3k/Lib/unittest.py", line 1431, in 
printErrorList
    self.stream.writeln("%s" % err)
  File "/Users/dickinsm/svn/python/py3k/Lib/unittest.py", line 1340, in 
writeln
    self.write(arg)
UnicodeEncodeError: 'ascii' codec can't encode character '\u0308' in 
position 194: ordinal not in range(128)
History
Date User Action Args
2009-05-05 18:09:03mark.dickinsonsetrecipients: + mark.dickinson, loewis
2009-05-05 18:09:03mark.dickinsonsetmessageid: <1241546943.39.0.445106495608.issue5944@psf.upfronthosting.co.za>
2009-05-05 18:09:01mark.dickinsonlinkissue5944 messages
2009-05-05 18:09:00mark.dickinsoncreate