| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #24857: Comparing call_args to a long sequence now correctly returns a | Berker Peksag | 2015-09-09 | 1 | -0/+3 |
| | | | | | | | boolean result instead of raising an exception. Patch by A Kaptur. | ||||
| * | Issue #21112: Fix regression in unittest.expectedFailure on subclasses. | Robert Collins | 2015-08-27 | 1 | -0/+33 |
| | | | | | Patch from Berker Peksag. | ||||
| * | Issue #23004: mock_open() now reads binary data correctly when the type of ↵ | Berker Peksag | 2015-08-06 | 1 | -0/+28 |
| | | | | | | | read_data is bytes. Initial patch by Aaron Hill. | ||||
| * | Issue #21750: Further fixup to be styled like other mock APIs. | Robert Collins | 2015-07-23 | 2 | -3/+25 |
| | | |||||
| * | Issue #21750: mock_open.read_data can now be read from each instance, as it | Robert Collins | 2015-07-17 | 2 | -2/+21 |
| | | | | | could in Python 3.3. | ||||
| * | - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely. | Robert Collins | 2015-07-14 | 1 | -0/+3 |
| | | | | | Patch from Nicola Palumbo and Laurent De Buyst. | ||||
| * | Reverted issue #24134 changes (except new tests). | Serhiy Storchaka | 2015-05-16 | 1 | -11/+0 |
| | | |||||
| * | Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and | Serhiy Storchaka | 2015-05-06 | 1 | -0/+52 |
| | | | | | | | assertWarnsRegex() checks are not longer successful if the callable is None. Added tests for assertRaises(). | ||||
| * | Issue #23310: Fix MagicMock's initializer to work with __methods__. | Łukasz Langa | 2015-04-14 | 1 | -0/+15 |
| | | | | | Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim. | ||||
| * | Issue #22903: The fake test case created by unittest.loader when it fails ↵ | Antoine Pitrou | 2015-03-18 | 1 | -0/+9 |
| | | | | | importing a test module is now picklable. | ||||
| * | Issue #23568: Add rdivmod support to MagicMock() objects. | Berker Peksag | 2015-03-14 | 1 | -0/+15 |
| | | | | | Patch by Håkan Lövdahl. | ||||
| * | Issue #22894: TestCase.subTest() would cause the test suite to be stopped ↵ | Antoine Pitrou | 2014-11-23 | 1 | -0/+28 |
| | | | | | when in failfast mode, even in the absence of failures. | ||||
| * | Issue #22186: Fix typos in Lib/. | Berker Peksag | 2014-10-19 | 1 | -1/+1 |
| | | | | | Patch by Févry Thibault. | ||||
| * | #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. | Ezio Melotti | 2014-08-07 | 7 | -5/+8 |
| | | |||||
| * | Issue #9815: assertRaises now tries to clear references to local variables ↵ | Antoine Pitrou | 2014-04-28 | 1 | -0/+31 |
| | | | | | in the exception's traceback. | ||||
| * | Closes issue 21239. unittest.mock.patch.stopall() did not work ↵ | Michael Foord | 2014-04-15 | 1 | -1/+18 |
| | | | | | deterministically when the same name was patched multiple times. | ||||
| * | Closes Issue 21222. | Kushal Das | 2014-04-15 | 1 | -0/+4 |
| | | | | | Passing name keyword argument to mock.create_autospec now works. | ||||
| * | Issue 17826. Setting an iterable side_effect on a mock created by ↵ | Michael Foord | 2014-04-14 | 1 | -0/+18 |
| | | | | | create_autospec now works | ||||
| * | Issue 20968. unittest.mock.MagicMock now supports division | Michael Foord | 2014-04-14 | 1 | -0/+25 |
| | | |||||
| * | 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. | ||||
| * | 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. | ||||
| * | Fix breakage in TestSuite.countTestCases() introduced by issue #11798. | Antoine Pitrou | 2013-12-28 | 1 | -0/+31 |
| | | |||||
| * | 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. | ||||
| * | Merge | Michael Foord | 2013-11-23 | 1 | -15/+2 |
| |\ | |||||
| | * | Remove shadowed test | Michael Foord | 2013-09-15 | 1 | -15/+2 |
| | | | |||||
| * | | Issue 17457: extend test discovery to support namespace packages | Michael Foord | 2013-11-23 | 1 | -2/+78 |
| | | | |||||
| * | | Issue #19594: Use specific asserts in unittest tests. | Serhiy Storchaka | 2013-11-16 | 7 | -28/+28 |
| |\ \ | |||||
| | * | | Issue #19594: Use specific asserts in unittest tests. | Serhiy Storchaka | 2013-11-16 | 7 | -28/+28 |
| | | | | |||||
| * | | | Issue #19352: Fix unittest discovery when a module can be reached through ↵ | Antoine Pitrou | 2013-10-23 | 1 | -1/+23 |
| |\ \ \ | |/ / | | | | | | | several paths (e.g. under Debian/Ubuntu with virtualenv). | ||||
| | * | | Issue #19352: Fix unittest discovery when a module can be reached through ↵ | Antoine Pitrou | 2013-10-23 | 1 | -1/+23 |
| | | | | | | | | | | | | | several paths (e.g. under Debian/Ubuntu with virtualenv). | ||||
| * | | | 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. | ||||
| * | | | Adjust comment | Antoine Pitrou | 2013-09-13 | 1 | -1/+1 |
| | | | | |||||
| * | | | Issue #19013: add a __main__ to unittest.test.testmock to ease CLI invocation | Antoine Pitrou | 2013-09-13 | 1 | -0/+18 |
| | | | | |||||
| * | | | Issue #19013: add a __main__ to unittest.test to ease CLI invocation | Antoine Pitrou | 2013-09-13 | 1 | -0/+18 |
| | | | | |||||
| * | | | Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules | Antoine Pitrou | 2013-09-13 | 3 | -2/+4 |
| | | | | |||||
| * | | | Issue #19013: add unittest.main() epilogs to unittest's own test modules | Antoine Pitrou | 2013-09-13 | 8 | -0/+29 |
| | |/ |/| | |||||
| * | | Issue #11798: fix tests for regrtest -R : | Andrew Svetlov | 2013-09-01 | 1 | -0/+8 |
| | | | |||||
| * | | Issue #17974: Switch unittest from using getopt to using argparse. | Serhiy Storchaka | 2013-08-29 | 2 | -38/+54 |
| | | | |||||
| * | | Issue #11798: TestSuite now drops references to own tests after execution. | Andrew Svetlov | 2013-08-28 | 2 | -5/+43 |
| | | | |||||
| * | | #18741: merge with 3.3. | Ezio Melotti | 2013-08-17 | 3 | -3/+3 |
| |\ \ | |/ | |||||
| | * | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 3 | -3/+3 |
| | | | |||||
| * | | #18663: merge with 3.3. | Ezio Melotti | 2013-08-11 | 1 | -0/+4 |
| |\ \ | |/ | |||||
| | * | #18663: document that assertAlmostEqual also works when the values are equal ↵ | Ezio Melotti | 2013-08-11 | 1 | -0/+4 |
| | | | | | | | | | and add tests. | ||||
| * | | 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 | 1 | -0/+16 |
| |\ \ | |/ | | | | | discovery. | ||||
| | * | #14971: Use class method name, not function.__name__, during unittest discovery. | R David Murray | 2013-04-11 | 1 | -0/+16 |
| | | | |||||
| * | | Process DEFAULT values in mock side_effect that returns iterator. | Andrew Svetlov | 2013-04-07 | 1 | -0/+4 |
| |\ \ | |/ | | | | | Patch by Michael Ford. | ||||
