Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45102: unittest: add tests for skipping and errors in cleanup (GH-28166) | Miss Islington (bot) | 2021-09-05 | 1 | -0/+138 |
| | | | | | (cherry picked from commit 28264269de9ff88d9ee7110fc56ac2d2db275bec) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-41620: TestCase.run() now always return a TestResult instance (GH-28030) | Miss Islington (bot) | 2021-08-30 | 1 | -23/+30 |
| | | | | | | | | | Previously it returned None if the test class or method was decorated with a skipping decorator. Co-authored-by: Iman Tabrizian <iman.tabrizian@gmail.com> (cherry picked from commit 7e246a3a7b43762480ee4fe0cfb859e8e997a8c8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-44955: Always call stopTestRun() for implicitly created TestResult ↵ | Miss Islington (bot) | 2021-08-22 | 1 | -1/+49 |
| | | | | | | | | | | | objects (GH-27831) Method stopTestRun() is now always called in pair with method startTestRun() for TestResult objects implicitly created in TestCase.run(). Previously it was not called for test methods and classes decorated with a skipping decorator. (cherry picked from commit a9640d75531d6cbbfd254b65435f238c26bf5cd9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (#9082) | Naitree Zhu | 2019-09-09 | 1 | -0/+11 |
| | | | | | | | | * bpo-34596: Fallback to a default reason when @unittest.skip is uncalled * Change default reason to empty string * Fix rst formatting of NEWS entry | ||||
* | Issue #21112: Fix regression in unittest.expectedFailure on subclasses. | Robert Collins | 2015-08-27 | 1 | -0/+33 |
| | | | | Patch from Berker Peksag. | ||||
* | #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. | Ezio Melotti | 2014-08-07 | 1 | -1/+1 |
| | |||||
* | Fixes Issue #20165: The unittest module no longer considers tests marked with | Gregory P. Smith | 2014-01-20 | 1 | -2/+2 |
| | | | | @expectedFailure successful if they pass. | ||||
* | Issue #19013: add unittest.main() epilogs to unittest's own test modules | Antoine Pitrou | 2013-09-13 | 1 | -0/+4 |
| | |||||
* | Issue #16997: unittest.TestCase now provides a subTest() context manager to ↵ | Antoine Pitrou | 2013-03-20 | 1 | -0/+74 |
| | | | | procedurally generate, in an easy way, small test instances. | ||||
* | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵ | Antoine Pitrou | 2012-04-25 | 1 | -0/+15 |
| | | | | class that doesn't inherit from TestCase (i.e. a mixin). | ||||
* | Breaking test_unittest.py into a package. Manual merge of revision 79432. | Michael Foord | 2010-03-27 | 1 | -0/+134 |