Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #22092: merge with 3.4. | Ezio Melotti | 2014-08-07 | 1 | -1/+1 |
|\ | |||||
| * | #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. | Ezio Melotti | 2014-08-07 | 1 | -1/+1 |
| | | |||||
| * | backport: #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex. | R David Murray | 2014-03-25 | 1 | -0/+12 |
| | | | | | | | | | | | | | | Previously a non-string, non-regex second argument and missing callable argument could cause the test to appear to always pass. Initial patch by Kamilla Holanda. | ||||
* | | Fix typo in test method name. | Mark Dickinson | 2014-04-18 | 1 | -1/+1 |
| | | |||||
* | | #20145: assert[Raises|Warns]Regex now raise TypeError on bad regex. | R David Murray | 2014-03-23 | 1 | -0/+12 |
|/ | | | | | | | Previously a non-string, non-regex second argument could cause the test to always pass. Initial patch by Kamilla Holanda. | ||||
* | Remove commented out debugging code (remnants of issue #18996). | Serhiy Storchaka | 2013-12-10 | 1 | -2/+0 |
| | |||||
* | Close #19880: Fix a reference leak in unittest.TestCase. Explicitly break | Victor Stinner | 2013-12-09 | 1 | -0/+26 |
| | | | | reference cycles between frames and the _Outcome instance. | ||||
* | Issue #19594: Use specific asserts in unittest tests. | Serhiy Storchaka | 2013-11-16 | 1 | -6/+6 |
|\ | |||||
| * | Issue #19594: Use specific asserts in unittest tests. | Serhiy Storchaka | 2013-11-16 | 1 | -6/+6 |
| | | |||||
* | | Issue #18996: TestCase.assertEqual() now more cleverly shorten differing | Serhiy Storchaka | 2013-09-23 | 1 | -3/+34 |
| | | | | | | | | strings in error report. | ||||
* | | Issue #18937: Add an assertLogs() context manager to unittest.TestCase to ↵ | Antoine Pitrou | 2013-09-14 | 1 | -0/+96 |
| | | | | | | | | ensure that a block of code emits a message using the logging module. | ||||
* | | Issue #19013: add unittest.main() epilogs to unittest's own test modules | Antoine Pitrou | 2013-09-13 | 1 | -0/+4 |
| | | |||||
* | | #18741: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #16997: unittest.TestCase now provides a subTest() context manager to ↵ | Antoine Pitrou | 2013-03-20 | 1 | -1/+93 |
|/ | | | | procedurally generate, in an easy way, small test instances. | ||||
* | test that TestCase doesn't get cycles | Benjamin Peterson | 2011-07-14 | 1 | -0/+9 |
| | |||||
* | #11763: merge with 3.2. | Ezio Melotti | 2011-04-27 | 1 | -0/+36 |
|\ | |||||
| * | #11763: merge with 3.1. | Ezio Melotti | 2011-04-27 | 1 | -0/+36 |
| | | |||||
* | | #11282: add back the fail* methods and assertDictContainsSubset. | Ezio Melotti | 2011-04-03 | 1 | -0/+53 |
| | | |||||
* | | #11282: merge with 3.2. | Ezio Melotti | 2011-04-03 | 1 | -4/+2 |
|\ \ | |/ | |||||
| * | #11282: the fail* methods will stay around a few more versions. | Ezio Melotti | 2011-04-03 | 1 | -4/+2 |
| | | |||||
* | | Closes issue 11407. TestCase.run returns the result object used or created | Michael Foord | 2011-03-14 | 1 | -4/+39 |
| | | |||||
* | | Remove unittest methods scheduled for removal in 3.3 -- makes the unittest ↵ | Georg Brandl | 2011-02-20 | 1 | -52/+0 |
|/ | | | | test suite pass again. | ||||
* | fix test_unittest: ignore DeprecationWarning on assertDictContainsSubset() | Victor Stinner | 2011-01-03 | 1 | -19/+22 |
| | |||||
* | Enable unittest.TestCase to be instantiated without providing a method name. | Michael Foord | 2011-01-03 | 1 | -0/+10 |
| | | | | Changed unittestgui to show number of discovered tests in the status bar. | ||||
* | Add direct tests for the util functions. | Raymond Hettinger | 2010-12-24 | 1 | -1/+13 |
| | |||||
* | Add test for r87454. | Raymond Hettinger | 2010-12-24 | 1 | -0/+3 |
| | |||||
* | Deprecate assertDictContainsSubset() | Raymond Hettinger | 2010-12-21 | 1 | -1/+2 |
| | |||||
* | Issue 10611. Issue 9857. Improve the way exception handling, including test ↵ | Michael Foord | 2010-12-19 | 1 | -8/+87 |
| | | | | skipping, is done inside TestCase.run | ||||
* | #10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ↵ | Ezio Melotti | 2010-12-01 | 1 | -35/+37 |
| | | | | assertRaisesRegex. | ||||
* | Issue 10242: unittest.assertItemsEqual makes too many assumptions. | Raymond Hettinger | 2010-11-27 | 1 | -19/+26 |
| | |||||
* | #9424: add a DeprecationWarning for assertEquals, assertNotEquals, ↵ | Ezio Melotti | 2010-11-22 | 1 | -19/+23 |
| | | | | assertAlmostEquals, assertNotAlmostEquals, and assert_ | ||||
* | Issue 10326: further extend test for unpickling to ensure type lookup ↵ | Michael Foord | 2010-11-20 | 1 | -0/+4 |
| | | | | mechanism works after unpickling | ||||
* | Issue 10326: extend test for pickling of TestCase instances to ensure they ↵ | Michael Foord | 2010-11-20 | 1 | -0/+2 |
| | | | | can be unpickled too | ||||
* | Issue 10326: TestCase instances can now be pickled (they store names of ↵ | Michael Foord | 2010-11-20 | 1 | -0/+12 |
| | | | | instance methods instead of references to the instance methods themselves). | ||||
* | Issue #9754: Similarly to assertRaises and assertRaisesRegexp, unittest | Antoine Pitrou | 2010-09-06 | 1 | -0/+134 |
| | | | | | test cases now also have assertWarns and assertWarnsRegexp methods to check that a given warning type was triggered by the code under test. | ||||
* | Fix error message for comparing single line strings in ↵ | Michael Foord | 2010-07-10 | 1 | -0/+15 |
| | | | | | | unittest.TestCase.assertEqual. Issue 9174. | ||||
* | Merged revisions 81764 via svnmerge from | Michael Foord | 2010-06-05 | 1 | -0/+4 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81764 | michael.foord | 2010-06-05 21:59:00 +0100 (Sat, 05 Jun 2010) | 1 line Tests for issue 8302, skipped test in a setUpClass or a setUpModule are reported as skips rather than errors. ........ | ||||
* | Merged revisions 81763 via svnmerge from | Michael Foord | 2010-06-05 | 1 | -0/+39 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81763 | michael.foord | 2010-06-05 21:33:43 +0100 (Sat, 05 Jun 2010) | 1 line Tests for unittest.TestCase.maxDiff. ........ | ||||
* | Merged revisions 81753 via svnmerge from | Michael Foord | 2010-06-05 | 1 | -3/+6 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81753 | michael.foord | 2010-06-05 14:48:27 +0100 (Sat, 05 Jun 2010) | 1 line Fix unittest tests after previous commit. ........ | ||||
* | Merged revisions 81739 via svnmerge from | Michael Foord | 2010-06-05 | 1 | -4/+22 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81739 | michael.foord | 2010-06-05 13:10:52 +0100 (Sat, 05 Jun 2010) | 1 line Removed the new max_diff argument to assertSequenceEqual. All unittest.TestCase assert methods that use difflib to produce failure messages now truncate overly long messages. New class attribute unittest.TestCase.maxDiff to configure this if necessary. Issue 8351. ........ | ||||
* | Test fix to use floor division. Correction from merge in previous commit. | Michael Foord | 2010-06-05 | 1 | -1/+1 |
| | |||||
* | Merged revisions 81728 via svnmerge from | Michael Foord | 2010-06-05 | 1 | -0/+19 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81728 | michael.foord | 2010-06-05 12:23:51 +0100 (Sat, 05 Jun 2010) | 1 line Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual. ........ | ||||
* | Merged revisions 79297,79310,79382,79425-79427,79450 via svnmerge from | Florent Xicluna | 2010-03-28 | 1 | -12/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79297 | florent.xicluna | 2010-03-22 18:18:18 +0100 (lun, 22 mar 2010) | 2 lines #7668: Fix test_httpservers failure when sys.executable contains non-ASCII bytes. ........ r79310 | florent.xicluna | 2010-03-22 23:52:11 +0100 (lun, 22 mar 2010) | 2 lines Issue #8205: Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only). ........ r79382 | florent.xicluna | 2010-03-24 20:33:25 +0100 (mer, 24 mar 2010) | 2 lines Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available. ........ r79425 | florent.xicluna | 2010-03-25 21:32:07 +0100 (jeu, 25 mar 2010) | 2 lines Syntax cleanup `== None` -> `is None` ........ r79426 | florent.xicluna | 2010-03-25 21:33:49 +0100 (jeu, 25 mar 2010) | 2 lines #8207: Fix test_pep277 on OS X ........ r79427 | florent.xicluna | 2010-03-25 21:39:10 +0100 (jeu, 25 mar 2010) | 2 lines Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest" ........ r79450 | florent.xicluna | 2010-03-26 20:32:44 +0100 (ven, 26 mar 2010) | 2 lines Ensure that the failed or unexpected tests are sorted before printing. ........ | ||||
* | Breaking test_unittest.py into a package. Manual merge of revision 79432. | Michael Foord | 2010-03-27 | 1 | -0/+869 |