[Python-3000] need help fixing broken tests in py3k-pep3137 branch

Guido van Rossum guido at python.org
Sat Nov 3 23:56:33 CET 2007


On 11/3/07, Christian Heimes <lists at cheimes.de> wrote:
> Brett Cannon wrote:
> >> test_import (*)
> >
> > This is passing for me on OS X 10.4.
>
> It passes on my Ubuntu box, too. But on Guido's Ubuntu box it's failing.
> It's also failing on Windows but that's expected. I added the test to
> verify a bug that prevents Windows to load modules from a sys.path entry
> with non ASCII letters.
>
> Georg has told me that I shouldn't add tests that are known to break.

He's absolutely right.

I never realized that your test was meant to fail until the behavior
was fixed -- then I would've just disabled it. :-)

> The test seems to be locale dependent, too.
>
> Guido, what's the output of the locale command on your box?

LANG=en_US
LANGUAGE=en
LC_CTYPE="en_US"
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=C
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list