A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-January/076000.html below:

[Python-Dev] test_sys failures

[Python-Dev] test_sys failures [Python-Dev] test_sys failuresNick Coghlan ncoghlan at gmail.com
Tue Jan 8 12:09:30 CET 2008
Guido van Rossum wrote:
> No answers yet, but a clue, and anyone on OSX should now be able to
> reproduce this (with 2.5, 2.6 or 3.0) as follows:
> 
>   ./python ./Lib/test/test_sys.py | cat
> 
> That is, the problem happens when stdout is redirected to a pipe (or a file).

Redirecting stdout also fails for both the trunk and the py3k branch for 
me on Ubuntu. If I redirected stderr as well then the tests worked again.

Given that a pipe/file and the console very likely *do* have different 
encodings, maybe the test is just wrong?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4