[issue12089] regrtest.py doesn't check for unexpected output anymore?

STINNER Victor report at bugs.python.org
Mon May 16 17:14:04 CEST 2011


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

In Python 3.1, a test fails if it writes to stdout/stderr. It is no more the case in Python 3.2 and 3.3. Why? If we decided to not check for unexpected output in Python 3.2+, the following code should be removed:

    if verbose:
        capture_stdout = None
    else:
        capture_stdout = io.StringIO()

----------
components: Tests
messages: 136103
nosy: haypo
priority: normal
severity: normal
status: open
title: regrtest.py doesn't check for unexpected output anymore?
versions: Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12089>
_______________________________________


More information about the Python-bugs-list mailing list