diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-06 19:25:46 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-06 19:25:46 (GMT) |
commit | 4bc12ef47dd57abda134fc0e90f946d862d8989e (patch) | |
tree | 2737280117621973c50edcf4483dcaf173990f10 /Lib/test | |
parent | 972ee13e037432497fa003d4a786b2342a38db94 (diff) | |
download | cpython-4bc12ef47dd57abda134fc0e90f946d862d8989e.zip cpython-4bc12ef47dd57abda134fc0e90f946d862d8989e.tar.gz cpython-4bc12ef47dd57abda134fc0e90f946d862d8989e.tar.bz2 |
Issue #9754: Similarly to assertRaises and assertRaisesRegexp, unittest
test cases now also have assertWarns and assertWarnsRegexp methods to
check that a given warning type was triggered by the code under test.
Diffstat (limited to 'Lib/test')
0 files changed, 0 insertions, 0 deletions