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 <rep...@bugs.python.org> <http://bugs.python.org/issue9517> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com