Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Merge #14971: Use class method name, not function.__name__, during unittest ↵ | R David Murray | 2013-04-11 | 2 | -1/+17 |
|\ \ | |/ | | | | | discovery. | ||||
| * | #14971: Use class method name, not function.__name__, during unittest discovery. | R David Murray | 2013-04-11 | 2 | -1/+17 |
| | | |||||
* | | Process DEFAULT values in mock side_effect that returns iterator. | Andrew Svetlov | 2013-04-07 | 2 | -0/+6 |
|\ \ | |/ | | | | | Patch by Michael Ford. | ||||
| * | Process DEFAULT values in mock side_effect that returns iterator. | Andrew Svetlov | 2013-04-07 | 2 | -0/+6 |
| | | | | | | | | Patch by Michael Ford. | ||||
* | | Fix bug in TestResult.addSubTest() | Antoine Pitrou | 2013-03-29 | 2 | -1/+35 |
| | | |||||
* | | #8906: merge with 3.3. | Ezio Melotti | 2013-03-29 | 1 | -12/+11 |
|\ \ | |/ | |||||
| * | #8906: document failureException, longMessage, and maxDiff in the class ↵ | Ezio Melotti | 2013-03-29 | 1 | -12/+11 |
| | | | | | | | | docstring. Patch by Boris Feld. | ||||
* | | #17329: merge with 3.3. | Ezio Melotti | 2013-03-27 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #17329: merge with 3.2. | Ezio Melotti | 2013-03-27 | 1 | -1/+1 |
| |\ | |||||
| | * | #17329: document unittest.SkipTest. Initial patch by Zachary Ware. | Ezio Melotti | 2013-03-27 | 1 | -1/+1 |
| | | | |||||
* | | | #17504: merge with 3.3. | Ezio Melotti | 2013-03-24 | 1 | -3/+0 |
|\ \ \ | |/ / | |||||
| * | | #17504: remove duplicated sentence. Patch by Radu Voicilas. | Ezio Melotti | 2013-03-24 | 1 | -3/+0 |
| | | | |||||
* | | | #17510: avoid using deprecated assertEquals method in test_program. Patch ↵ | Ezio Melotti | 2013-03-23 | 1 | -2/+2 |
| | | | | | | | | | | | | by Daniel Black. | ||||
* | | | Issue #16997: unittest.TestCase now provides a subTest() context manager to ↵ | Antoine Pitrou | 2013-03-20 | 7 | -101/+443 |
| | | | | | | | | | | | | procedurally generate, in an easy way, small test instances. | ||||
* | | | Closes issue 17467. Add readline and readlines support to ↵ | Michael Foord | 2013-03-20 | 2 | -6/+132 |
| | | | | | | | | | | | | unittest.mock.mock_open | ||||
* | | | Closes issue 16709. unittest test discovery sorts test files for consistent ↵ | Michael Foord | 2013-03-19 | 2 | -3/+9 |
| | | | | | | | | | | | | test ordering | ||||
* | | | Merge with 3.3, issue #17047: remove doubled words added in 3.3, | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | | Issue #17047: remove doubled words added in 3.3 | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
| | | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
* | | | #16935: unittest now counts the module as skipped if it raises SkipTest, ↵ | Ezio Melotti | 2013-03-01 | 2 | -4/+33 |
| | | | | | | | | | | | | instead of counting it as an error. Patch by Zachary Ware. | ||||
* | | | Issue #15132: Allow a list for the defaultTest argument of unittest.TestProgram | Petri Lehtinen | 2013-02-23 | 2 | -1/+39 |
| | | | | | | | | | | | | Patch by Jyrki Pulliainen | ||||
* | | | Merge. Closes issue 17052. | Michael Foord | 2013-02-11 | 2 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Merge | Michael Foord | 2013-02-11 | 2 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | Correction to issue 17052 fix | Michael Foord | 2013-02-11 | 2 | -2/+2 |
| | | | |||||
* | | | Merge. Closes issue 17052. | Michael Foord | 2013-02-11 | 2 | -1/+19 |
|\ \ \ | |/ / | |||||
| * | | Merge | Michael Foord | 2013-02-11 | 2 | -1/+19 |
| |\ \ | | |/ | |||||
| | * | Issue 17502: unittest discovery should use self.testLoader | Michael Foord | 2013-02-11 | 2 | -1/+18 |
| | | | |||||
* | | | Issue #17015: When it has a spec, a Mock object now inspects its signature ↵ | Antoine Pitrou | 2013-02-02 | 3 | -85/+273 |
| | | | | | | | | | | | | when matching calls, so that arguments can be matched positionally or by name. | ||||
* | | | Merge | Michael Foord | 2013-01-29 | 2 | -1/+47 |
|\ \ \ | |/ / | |||||
| * | | Merge | Michael Foord | 2013-01-29 | 2 | -1/+47 |
| |\ \ | | |/ | |||||
| | * | Closes issue 15505. unittest.installHandler and non-callable signal handlers. | Michael Foord | 2013-01-29 | 2 | -1/+47 |
| | | | |||||
* | | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
|\ \ \ | |/ / | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
| |\ \ | | |/ | | | | | | | Patch by Serhiy Storchaka. | ||||
| | * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -2/+2 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | #16433: merge with 3.3. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | #16433: merge with 3.2. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | #16433: fix docstring of assertNotEqual. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 |
| | | | |||||
* | | | merge 3.3 | Benjamin Peterson | 2012-10-09 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | compare singletons by identity not equality (closes #16712) | Benjamin Peterson | 2012-10-09 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch from Serhiy Storchaka. | ||||
* | | | Issue #16120: Use |yield from| in stdlib. | Andrew Svetlov | 2012-10-06 | 1 | -2/+1 |
|/ / | | | | | | | Patch by Berker Peksag. | ||||
* | | Closes issue 15323. Improve failure message of Mock.assert_called_once_with | Michael Foord | 2012-09-28 | 2 | -2/+9 |
| | | |||||
* | | Merge | Michael Foord | 2012-09-28 | 2 | -1/+14 |
|\ \ | |/ | |||||
| * | Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ ↵ | Michael Foord | 2012-09-28 | 2 | -1/+14 |
| | | | | | | | | super call | ||||
* | | Closes issue 16064. No longer hard code executable name in unittest help output. | Michael Foord | 2012-09-28 | 1 | -1/+8 |
| | | |||||
* | | Adding patch.stopall method to unittest.mock | Michael Foord | 2012-06-10 | 2 | -2/+38 |
| | | |||||
* | | Fix exception when calling reset_mock on a mock created with autospec | Michael Foord | 2012-06-09 | 3 | -0/+18 |
| | | |||||
* | | Close #14857: fix regression in references to PEP 3135 implicit __class__ ↵ | Nick Coghlan | 2012-05-27 | 1 | -3/+6 |
| | | | | | | | | closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue | ||||
* | | 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). | ||||
| * | 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). |