]> granicus.if.org Git - python/commit
deprecated_err(): Stop bizarre warning messages when the tests
authorTim Peters <tim.peters@gmail.com>
Tue, 30 May 2006 02:25:25 +0000 (02:25 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 30 May 2006 02:25:25 +0000 (02:25 +0000)
commitaba19bc45fb3f0c45cb4511e2b9c1fca637fb2b3
treec4b3be408a83ebc293370b3af1e99d858e026d76
parent6067f20172842775933b4089ebdf9cbcdd4deb7c
deprecated_err():  Stop bizarre warning messages when the tests
are run in the order:

    test_genexps (or any other doctest-based test)
    test_struct
    test_doctest

The `warnings` module needs an advertised way to save/restore
its internal filter list.
Lib/test/test_struct.py