[issue7772] test_py3kwarn fails when running the whole test suite

Florent Xicluna report at bugs.python.org
Sun Jan 24 19:42:27 CET 2010


New submission from Florent Xicluna <laxyf at yahoo.fr>:

"test_py3kwarn" fails when running the whole test suite

This is a known behaviour, because of extension modules loaded by previous tests (which cannot be "reloaded").

However, the warnings module store all the warnings when they appear in a dictionary attribute attached to the module which does the "import".

We may read this dictionary attribute for the purpose of this test.

----------
components: Tests
messages: 98244
nosy: flox
severity: normal
status: open
title: test_py3kwarn fails when running the whole test suite
type: behavior
versions: Python 2.6, Python 2.7

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


More information about the Python-bugs-list mailing list