[issue9082] warnings.filterwarnings doesn't work with -O

Michael Foord report at bugs.python.org
Mon Sep 27 23:38:34 CEST 2010


Michael Foord <michael at voidspace.org.uk> added the comment:

When I run with -OO I get 42 test failures. Most of them look like they are due to missing docstrings but some are likely to be due to missing asserts.

42 tests failed:
    test_bisect test_cmd test_code test_collections test_compileall
    test_ctypes test_decimal test_deque test_descrtut test_dictcomps
    test_difflib test_dis test_distutils test_doctest test_extcall
    test_generators test_genexps test_getopt test_http_cookies
    test_import test_itertools test_json test_lib2to3 test_listcomps
    test_math test_metaclass test_pdb test_pickle test_pickletools
    test_pyclbr test_setcomps test_syntax test_threading_local
    test_tokenize test_unpack test_unpack_ex test_urllib2 test_weakref
    test_xml_etree test_xml_etree_c test_zipimport
    test_zipimport_support

----------

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


More information about the Python-bugs-list mailing list