[issue12520] spurious output in test_warnings
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12520 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12520] spurious output in test_warnings
STINNER Victor added the comment: I cannot reproduce this isuse, was it fixed? $ ./python -m test test_warnings [1/1] test_warnings 1 test OK. Also, I don't understand how test_filename_none is supposed to check for issue #12467 (it doesn't use a subprocess). You don't need a subprocess to reproduce the issue, you just have to emit a warning with __file__=None. At shutdown, __file__ is set to None by Py_Finalize, whereas a warning is emitted because a file was not closed explicitly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12520 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12520] spurious output in test_warnings
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12520 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12520] spurious output in test_warnings
New submission from Antoine Pitrou pit...@free.fr: $ ./python -m test test_warnings [1/1] test_warnings test.test_warnings:553: UserWarning: test Also, I don't understand how test_filename_none is supposed to check for issue #12467 (it doesn't use a subprocess). -- assignee: haypo components: Tests messages: 140043 nosy: haypo, pitrou priority: low severity: normal stage: needs patch status: open title: spurious output in test_warnings type: behavior versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12520 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com