New submission from Michael Foord <mich...@voidspace.org.uk>: warnings.filterwarnings is mostly a bunch of asserts, so it doesn't work when Python is run with -O or -OO. This also means that a bunch of tests fail when run with -O or -OO.
Two options are skip the tests or fix filterwarnings. ---------- components: Library (Lib) messages: 108628 nosy: michael.foord priority: normal severity: normal status: open title: warnings.filterwarnings doesn't work with -O versions: Python 2.7, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9082> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com