[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

Ezio Melotti report at bugs.python.org
Thu Oct 25 01:08:07 CEST 2012


Ezio Melotti added the comment:

> There's already strip_python_stderr() :)

This is already used in Lib/test/script_helper.py:42, and a way to call _assert_python() without using -E has also been introduced[0].

The next step would be to check if these functions could be used elsewhere in the other tests.  Also note that these functions are not currently documented anywhere.

[0]: http://hg.python.org/cpython/diff/f4b7ecf8a5f8/Lib/test/script_helper.py

----------
stage:  -> needs patch
versions: +Python 3.4 -Python 3.2

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


More information about the Python-bugs-list mailing list