summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/loader.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-06 19:25:46 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-06 19:25:46 (GMT)
commit4bc12ef47dd57abda134fc0e90f946d862d8989e (patch)
tree2737280117621973c50edcf4483dcaf173990f10 /Lib/unittest/loader.py
parent972ee13e037432497fa003d4a786b2342a38db94 (diff)
downloadcpython-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/unittest/loader.py')
0 files changed, 0 insertions, 0 deletions