summaryrefslogtreecommitdiff
path: root/Python/pytime.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-03 00:07:47 +0200
committerVictor Stinner <victor.stinner@gmail.com>2015-09-03 00:07:47 +0200
commit1c4055208758c6e85f00674eae24e0351b659c5a (patch)
tree3f64d0c743ce9ab3efa8ceb3376cd1fc2d998d01 /Python/pytime.c
parent5b6b4a8c344cb70dca67109989f430733c74cfce (diff)
downloadcpython-git-1c4055208758c6e85f00674eae24e0351b659c5a.tar.gz
Fix test_warnings: don't modify warnings.filters
BaseTest now ensures that unittest.TestCase.assertWarns() uses the same warnings module than warnings.catch_warnings(). Otherwise, warnings.catch_warnings() will be unable to remove the added filter.
Diffstat (limited to 'Python/pytime.c')
0 files changed, 0 insertions, 0 deletions