Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY. | Serhiy Storchaka | 2017-01-21 | 1 | -3/+14 |
|\ | |||||
| * | Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY. | Serhiy Storchaka | 2017-01-21 | 7 | -18/+74 |
| |\ | |||||
| * | | Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY. | Serhiy Storchaka | 2017-01-21 | 1 | -3/+14 |
| | | | |||||
* | | | Issue 29274: Merge doc fixes from 3.6 | Martin Panter | 2017-01-18 | 1 | -4/+4 |
|\ \ \ | | |/ | |/| | |||||
| * | | Issue 29274: Merge doc fixes from 3.5 | Martin Panter | 2017-01-18 | 1 | -4/+4 |
| |\ \ | | |/ | |||||
| | * | Issue #29274: tests cases ? test cases | Martin Panter | 2017-01-18 | 1 | -4/+4 |
| | | | |||||
* | | | Issue #20804: The unittest.mock.sentinel attributes now preserve their | Serhiy Storchaka | 2017-01-11 | 1 | -0/+13 |
|/ / | | | | | | | identity when they are copied or pickled. | ||||
* | | Fix unittest.mock._Call: don't ignore name | Victor Stinner | 2017-01-06 | 1 | -0/+14 |
| | | | | | | | | | | | | | | Issue #28961: Fix unittest.mock._Call helper: don't ignore the name parameter anymore. Patch written by Jiajun Huang. | ||||
* | | Fixes issue28380: unittest.mock Mock autospec functions now properly support | Gregory P. Smith | 2016-10-06 | 1 | -0/+6 |
| | | | | | | | | assert_called, assert_not_called, and assert_called_once. | ||||
* | | Issue #25651: Merge from 3.5 | Berker Peksag | 2016-09-21 | 6 | -18/+54 |
|\ \ | |/ |/| | |||||
| * | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 | 2 | -13/+13 |
| | | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||||
| * | Issue #27895: Spelling fixes (Contributed by Ville Skytt?). | Raymond Hettinger | 2016-08-30 | 2 | -2/+2 |
| | | |||||
| * | Merge | Raymond Hettinger | 2016-08-25 | 4 | -5/+41 |
| |\ | |||||
| | * | Issue #26750: unittest.mock.create_autospec() now works properly for | Gregory P. Smith | 2016-08-07 | 1 | -21/+39 |
| | |\ | | | | | | | | | | | | | | | | | subclasses of property() and other data descriptors. Removes the never publicly used, never documented unittest.mock.DescriptorTypes tuple. | ||||
| | * \ | Issue #27430: Merge from 3.5 | Berker Peksag | 2016-07-01 | 4 | -5/+41 |
| | |\ \ | |||||
| | | * | | Issue #21271: Adds new keyword only parameters in reset_mock call | Kushal Das | 2016-06-02 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | We now have two keyword only parameters in the reset_mock function to selectively reset the return_value or the side_effects, or both. | ||||
| | | * | | Issue #27063: Some unittest loader tests were silently skipped. | Serhiy Storchaka | 2016-05-20 | 4 | -5/+23 |
| | | |\ \ | |||||
| | | | * \ | Issue #26807: mock_open 'files' no longer error on readline at end of file. | Robert Collins | 2016-05-16 | 4 | -5/+23 |
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | Patch from Yolanda Robla. | ||||
| | | | | * \ | Merge 3.5 | Serhiy Storchaka | 2016-04-25 | 4 | -5/+23 |
| | | | | |\ \ | |||||
| | | | | | * | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 2 | -3/+2 |
| | | | | | | | | |||||
| | | | | | * | | Issue #23277: Remove unused sys and os imports | Berker Peksag | 2016-04-24 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Jon Dufresne. | ||||
| | | | | | * | | Merge 3.5 (test_unittest) | Victor Stinner | 2016-03-30 | 1 | -0/+21 |
| | | | | | |\ \ | |||||
| | | | | | | * \ | Issue #25195: Fix a regression in mock.MagicMock | Berker Peksag | 2016-03-28 | 1 | -0/+21 |
| | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer. | ||||
| | | | | | | | * \ | #25320: Handle sockets in directories unittest discovery is scanning. | Robert Collins | 2016-03-15 | 1 | -0/+21 |
| | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Victor van den Elzen. | ||||
| | | | | | | | | * | | Add Mock.assert_called() | Victor Stinner | 2016-03-11 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26323: Add assert_called() and assert_called_once() methods to unittest.mock.Mock. | ||||
* | | | | | | | | | | | Issue #25651: Allow falsy values to be used for msg parameter of subTest() | Berker Peksag | 2016-09-21 | 1 | -0/+10 |
| | | | | | | | | | | | |||||
* | | | | | | | | | | | Issue #27895: Spelling fixes (Contributed by Ville Skytt?). | Martin Panter | 2016-09-07 | 2 | -2/+2 |
|/ / / / / / / / / / | |||||
* | | | | | | | | | | Issue 19504: Change "customise" to "customize" American spelling. | Raymond Hettinger | 2016-08-25 | 1 | -1/+1 |
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | |||||
* | | | | | | | | | Issue #26750: unittest.mock.create_autospec() now works properly | Gregory P. Smith | 2016-08-07 | 1 | -21/+39 |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | for subclasses of property() and other data descriptors. | ||||
* | | | | | | | | Issue #27430: Fix typos, patch by scop. | Berker Peksag | 2016-07-01 | 1 | -1/+1 |
|/ / / / / / / | |||||
* | | | | | | | Issue #27063: Some unittest loader tests were silently skipped. | Serhiy Storchaka | 2016-05-20 | 1 | -26/+28 |
|/ / / / / / | |||||
* | | | | | | Issue #26807: mock_open 'files' no longer error on readline at end of file. | Robert Collins | 2016-05-16 | 1 | -0/+12 |
|/ / / / / | | | | | | | | | | | | | | | | Patch from Yolanda Robla. | ||||
* | | | | | Issue #26837: assertSequenceEqual() now correctly outputs non-stringified | Serhiy Storchaka | 2016-04-25 | 1 | -0/+76 |
|/ / / / | | | | | | | | | | | | | | | | | differing items (like bytes in the -b mode). This affects assertListEqual() and assertTupleEqual(). | ||||
* | | | | Fix ResourceWarning in test_unittest when interrupted | Victor Stinner | 2016-03-30 | 1 | -3/+6 |
|/ / / | |||||
* | | | Issue #25195: Fix a regression in mock.MagicMock | Berker Peksag | 2016-03-28 | 1 | -0/+17 |
|/ / | | | | | | | | | | | | | _Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer. | ||||
* | | #25320: Handle sockets in directories unittest discovery is scanning. | Robert Collins | 2016-03-15 | 1 | -0/+40 |
|/ | | | | Patch from Victor van den Elzen. | ||||
* | Issue #22138: Fix mock.patch behavior when patching descriptors. Restore | Senthil Kumaran | 2016-01-08 | 1 | -0/+26 |
| | | | | | | original values after patching. Patch contributed by Sean McCully. | ||||
* | Issue #25523: Further a-to-an corrections new in 3.5 | Martin Panter | 2015-11-02 | 1 | -2/+2 |
| | |||||
* | Issue #24857: Comparing call_args to a long sequence now correctly returns a | Berker Peksag | 2015-09-09 | 13 | -151/+893 |
|\ | | | | | | | | | | | boolean result instead of raising an exception. Patch by A Kaptur. | ||||
| * | Issue #21112: Fix regression in unittest.expectedFailure on subclasses. | Robert Collins | 2015-08-28 | 13 | -151/+893 |
| |\ | | | | | | | | | | Patch from Berker Peksag. | ||||
| | * | Issue #20362: Honour TestCase.longMessage correctly in assertRegex. | Robert Collins | 2015-08-20 | 1 | -1/+14 |
| | | | | | | | | | | | | Patch from Ilia Kurenkov. | ||||
| | * | 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-24 | 12 | -150/+879 |
| | |\ \ | |||||
| | | * \ | Issue #21750: mock_open.read_data can now be read from each instance, as it | Robert Collins | 2015-07-17 | 12 | -150/+879 |
| | | |\ \ | | | | | | | | | | | | | | | | | | | could in Python 3.3. | ||||
| | | | * \ | - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely. | Robert Collins | 2015-07-15 | 1 | -0/+3 |
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | Patch from Nicola Palumbo and Laurent De Buyst. | ||||
| | | | * | | | Issue #23661: unittest.mock side_effects can now be exceptions again. | Robert Collins | 2015-07-14 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a regression vs Python 3.4. Patch from Ignacio Rossi | ||||
| | | | * | | | Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and | Serhiy Storchaka | 2015-05-21 | 1 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assertWarnsRegex() assertments now check the type of the first argument to prevent possible user error. Based on patch by Daniel Wagner-Hall. | ||||
| | | | * | | | Issue #24245: Eliminated senseless expect clauses that have no any effect. | Serhiy Storchaka | 2015-05-20 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Martin Panter. | ||||
| | | | * | | | Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and | Serhiy Storchaka | 2015-05-16 | 1 | -4/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assertWarnsRegex() checks now emits a deprecation warning when callable is None or keyword arguments except msg is passed in the context manager mode. | ||||
| | | | * | | | 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(). |