Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #16433: fix docstring of assertNotEqual. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 |
| | |||||
* | Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ ↵ | Michael Foord | 2012-09-28 | 2 | -1/+14 |
| | | | | super call | ||||
* | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵ | Antoine Pitrou | 2012-04-25 | 2 | -1/+16 |
| | | | | class that doesn't inherit from TestCase (i.e. a mixin). | ||||
* | Fix unittest test discovery for Jython | Michael Foord | 2012-03-13 | 1 | -4/+9 |
| | |||||
* | testFnNames is assigned twice. | Senthil Kumaran | 2011-11-24 | 1 | -2/+1 |
| | |||||
* | Closes #13258: Use callable() built-in in the standard library. | Florent Xicluna | 2011-10-28 | 2 | -3/+3 |
| | |||||
* | this can be done without a custom dict (also fixes #12544) | Benjamin Peterson | 2011-07-13 | 1 | -22/+3 |
| | |||||
* | #11763: merge with 3.1. | Ezio Melotti | 2011-04-27 | 2 | -0/+44 |
| | |||||
* | #11282: the fail* methods will stay around a few more versions. | Ezio Melotti | 2011-04-03 | 2 | -6/+3 |
| | |||||
* | Save a copy of sys.warnoptions in test_program. | Ezio Melotti | 2011-03-20 | 1 | -1/+1 |
| | |||||
* | Issue #10979. unittest stdout buffering now works with class and module ↵ | Michael Foord | 2011-03-17 | 3 | -2/+91 |
| | | | | setup and teardown. | ||||
* | Issue 10573: revert unittest docs to first / second | Michael Foord | 2011-01-28 | 1 | -6/+6 |
| | | | | | Minor internal change to unittest.TestCase.assertCountEqual Reviewed by R. David Murray | ||||
* | fix test_unittest: ignore DeprecationWarning on assertDictContainsSubset() | Victor Stinner | 2011-01-03 | 2 | -24/+30 |
| | |||||
* | Enable unittest.TestCase to be instantiated without providing a method name. | Michael Foord | 2011-01-03 | 2 | -3/+18 |
| | | | | Changed unittestgui to show number of discovered tests in the status bar. | ||||
* | Issue 10786: unittest.TextTestRunner default stream no longer bound at ↵ | Michael Foord | 2010-12-30 | 2 | -1/+20 |
| | | | | import time | ||||
* | Adopt symmetric names for arguments (actual/expected --> first/second). | Raymond Hettinger | 2010-12-24 | 1 | -10/+10 |
| | |||||
* | Keep helper functions private. | Raymond Hettinger | 2010-12-24 | 1 | -2/+2 |
| | |||||
* | Put diff output in useful order (when the elements were first seen). | Raymond Hettinger | 2010-12-24 | 2 | -11/+13 |
| | |||||
* | Add direct tests for the util functions. | Raymond Hettinger | 2010-12-24 | 1 | -1/+13 |
| | |||||
* | Improve diff for assertCountEqual() to actually show the differing counts. | Raymond Hettinger | 2010-12-24 | 3 | -22/+72 |
| | | | | | | | | | | | | | | | | | | New output looks like this: Traceback (most recent call last): File "test.py", line 5, in test_ce self.assertCountEqual('abracadabra xx', 'simsalabim xx') AssertionError: Element counts were not equal: Expected 5, got 2: 'a' Expected 2, got 1: 'b' Expected 0, got 2: 'i' Expected 0, got 2: 'm' Expected 0, got 1: 'l' Expected 0, got 2: 's' Expected 1, got 0: 'c' Expected 1, got 0: 'd' Expected 2, got 0: 'r' | ||||
* | Fix docstring. | Raymond Hettinger | 2010-12-24 | 1 | -3/+3 |
| | |||||
* | Fix docs and comment for r87454. | Raymond Hettinger | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | Add test for r87454. | Raymond Hettinger | 2010-12-24 | 1 | -0/+3 |
| | |||||
* | Fix buglet. If the input was an iterator, the fallback would occur after | Raymond Hettinger | 2010-12-23 | 1 | -8/+7 |
| | | | | | part of the iterator had been consumed. Also, fix argument names which did not match the docs and were a bit misleading. | ||||
* | Deprecate assertDictContainsSubset() | Raymond Hettinger | 2010-12-21 | 2 | -1/+4 |
| | |||||
* | Improvement to fix for issue 9926 to allow TestResult to be reused. | Michael Foord | 2010-12-19 | 2 | -1/+7 |
| | |||||
* | Fix minor issue in implementation of issue 10470. | Michael Foord | 2010-12-19 | 3 | -30/+54 |
| | |||||
* | Issue 10611. Issue 9857. Improve the way exception handling, including test ↵ | Michael Foord | 2010-12-19 | 4 | -73/+177 |
| | | | | skipping, is done inside TestCase.run | ||||
* | #10573: use actual/expected consistently in unittest methods. The order of ↵ | Ezio Melotti | 2010-12-18 | 1 | -13/+13 |
| | | | | the args of assertCountEqual is also changed. | ||||
* | Use lowercase true/false in assertTrue/assertFalse messages. | Ezio Melotti | 2010-12-18 | 2 | -8/+8 |
| | |||||
* | assert that the regex given to assertRegex is non-empty. | Gregory P. Smith | 2010-12-16 | 1 | -0/+1 |
| | |||||
* | #10273: Remove a "Matches" that I missed in r86910. Thanks to RDM for ↵ | Ezio Melotti | 2010-12-10 | 2 | -5/+5 |
| | | | | noticing it. | ||||
* | Correct comment in unittest test | Michael Foord | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | Issue 10620: Specifying test modules by path instead of module name to ↵ | Michael Foord | 2010-12-04 | 2 | -1/+97 |
| | | | | 'python -m unittest' | ||||
* | Issue 7911: unittest.TestCase.longMessage defaults to True for improved ↵ | Michael Foord | 2010-12-03 | 2 | -2/+2 |
| | | | | failure messages by default | ||||
* | #10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ↵ | Ezio Melotti | 2010-12-01 | 6 | -95/+101 |
| | | | | assertRaisesRegex. | ||||
* | 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 | 6 | -18/+203 |
| | |||||
* | Do not add an obsolete unittest name to Py3.2. | Raymond Hettinger | 2010-11-29 | 1 | -3/+0 |
| | |||||
* | Issue 10242: unittest.assertItemsEqual makes too many assumptions. | Raymond Hettinger | 2010-11-27 | 3 | -32/+44 |
| | |||||
* | #9424: add a DeprecationWarning for assertEquals, assertNotEquals, ↵ | Ezio Melotti | 2010-11-22 | 2 | -37/+31 |
| | | | | assertAlmostEquals, assertNotAlmostEquals, and assert_ | ||||
* | Improve test for 'python -m unittest' launching test discovery | Michael Foord | 2010-11-22 | 1 | -5/+4 |
| | |||||
* | Issue 10470: 'python -m unittest' launches test discovery by default.(If ↵ | Michael Foord | 2010-11-21 | 2 | -14/+40 |
| | | | | you need to pass options to test discovery the discover subcommand must still be specified explicitly.) | ||||
* | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 | 3 | -12/+10 |
| | |||||
* | Improve unittest.TestLoader.discover docstring | Michael Foord | 2010-11-20 | 1 | -3/+3 |
| | |||||
* | 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 | 2 | -7/+40 |
| | | | | instance methods instead of references to the instance methods themselves). | ||||
* | reduce try block compass | Benjamin Peterson | 2010-11-18 | 1 | -1/+2 |
| | |||||
* | Remove the keyword only restriction for places and delta args in ↵ | Michael Foord | 2010-11-02 | 1 | -2/+2 |
| | | | | unittest.TestCase.assert[Not]AlmostEqual |