Florent Xicluna <la...@yahoo.fr> added the comment: Here comes the patch: - use test_support.__warningregistry__ to check past warnings - filter the warnings with "(module|package)", to be sure that they are silenced by "test_support.import_module" - fix test_reduce_move (it failed when run after test_unittest)
Note: - it requires that all "deprecated" imports are filtered through the "test_support.import_module" function (issue #7092) ---------- dependencies: +Test suite emits many DeprecationWarnings when -3 is enabled keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file15992/issue7772_py3kwarn.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7772> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com