commit | 4bc12ef47dd57abda134fc0e90f946d862d8989e | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Sep 06 19:25:46 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Sep 06 19:25:46 2010 +0000 |
tree | 2737280117621973c50edcf4483dcaf173990f10 | |
parent | 972ee13e037432497fa003d4a786b2342a38db94 [diff] |
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.