Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-32230: Set sys.warnoptions with -X dev (#4820) | Victor Stinner | 2017-12-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Rather than supporting dev mode directly in the warnings module, this instead adjusts the initialisation code to add an extra 'default' entry to sys.warnoptions when dev mode is enabled. This ensures that dev mode behaves *exactly* as if `-Wdefault` had been passed on the command line, including in the way it interacts with `sys.warnoptions`, and with other command line flags like `-bb`. Fix also bpo-20361: have -b & -bb options take precedence over any other warnings options. Patch written by Nick Coghlan, with minor modifications of Victor Stinner. | ||||
* | Fix ResourceWarning in test_unittest when interrupted | Victor Stinner | 2016-03-29 | 1 | -3/+6 |
| | |||||
* | Issue #22936: Allow showing local variables in unittest errors. | Robert Collins | 2015-03-06 | 1 | -3/+7 |
| | |||||
* | #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. | Ezio Melotti | 2014-08-07 | 1 | -1/+2 |
| | |||||
* | Issue #19013: add unittest.main() epilogs to unittest's own test modules | Antoine Pitrou | 2013-09-13 | 1 | -0/+4 |
| | |||||
* | clean the environment from pre-existing PYTHONWARNINGS for test_warnings | Łukasz Langa | 2013-04-23 | 1 | -0/+12 |
|\ | |||||
| * | clean the environment from pre-existing PYTHONWARNINGS for test_warnings | Łukasz Langa | 2013-04-23 | 1 | -0/+12 |
| | | |||||
* | | Issue #16997: unittest.TestCase now provides a subTest() context manager to ↵ | Antoine Pitrou | 2013-03-20 | 1 | -7/+5 |
|/ | | | | procedurally generate, in an easy way, small test instances. | ||||
* | Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ ↵ | Michael Foord | 2012-09-28 | 1 | -0/+13 |
| | | | | super call | ||||
* | Issue 10786: unittest.TextTestRunner default stream no longer bound at ↵ | Michael Foord | 2010-12-30 | 1 | -0/+17 |
| | | | | import time | ||||
* | Issue 10611. Issue 9857. Improve the way exception handling, including test ↵ | Michael Foord | 2010-12-19 | 1 | -11/+8 |
| | | | | skipping, is done inside TestCase.run | ||||
* | Fix test failure in debug builds and add NEWS entry for r86908 | Ezio Melotti | 2010-12-01 | 1 | -3/+3 |
| | |||||
* | #10535: Enable silenced warnings in unittest by default | Ezio Melotti | 2010-12-01 | 1 | -0/+58 |
| | |||||
* | Merged revisions 81853 via svnmerge from | Michael Foord | 2010-06-10 | 1 | -0/+25 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81853 | michael.foord | 2010-06-08 23:44:52 +0100 (Tue, 08 Jun 2010) | 1 line Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus class and module teardowns are not run by unittest.TestSuite.debug(). ........ | ||||
* | Merged revisions 80920 via svnmerge from | Michael Foord | 2010-05-07 | 1 | -0/+46 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80920 | michael.foord | 2010-05-07 17:52:05 +0200 (Fri, 07 May 2010) | 1 line Adding tests for unittest command line handling of buffer, catchbreak and failfast. ........ | ||||
* | Breaking test_unittest.py into a package. Manual merge of revision 79432. | Michael Foord | 2010-03-27 | 1 | -0/+175 |