Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 2 | -2/+2 |
| | |||||
* | Merge | Raymond Hettinger | 2016-08-26 | 1 | -1/+1 |
|\ | |||||
| * | Issue 19504: Change "customise" to "customize" American spelling. | Raymond Hettinger | 2016-08-26 | 1 | -1/+1 |
| | | |||||
* | | Issue #26750: use inspect.isdatadescriptor instead of our own | Gregory P. Smith | 2016-08-16 | 1 | -7/+1 |
|\ \ | |/ | | | | | _is_data_descriptor(). | ||||
| * | Issue #26750: use inspect.isdatadescriptor instead of our own | Gregory P. Smith | 2016-08-16 | 1 | -7/+1 |
| | | | | | | | | _is_data_descriptor(). | ||||
* | | Issue #26750: unittest.mock.create_autospec() now works properly for | Gregory P. Smith | 2016-08-07 | 2 | -30/+44 |
|\ \ | |/ | | | | | | | subclasses of property() and other data descriptors. Removes the never publicly used, never documented unittest.mock.DescriptorTypes tuple. | ||||
| * | Issue #26750: unittest.mock.create_autospec() now works properly | Gregory P. Smith | 2016-08-07 | 2 | -22/+48 |
| | | | | | | | | for subclasses of property() and other data descriptors. | ||||
* | | Issue #27626: Merge spelling fixes from 3.5 | Martin Panter | 2016-07-28 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -2/+2 |
| | | | | | | | | Based on patch by Ville Skyttä. | ||||
* | | Issue #23804: Merge spelling and NEWS fixes from 3.5 | Martin Panter | 2016-07-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | English spelling and grammar fixes | Martin Panter | 2016-07-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #27430: Merge from 3.5 | Berker Peksag | 2016-07-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27430: Fix typos, patch by scop. | Berker Peksag | 2016-07-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. | Serhiy Storchaka | 2016-06-19 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. | Serhiy Storchaka | 2016-06-19 | 1 | -0/+1 |
| | | |||||
* | | Issue #21271: Adds new keyword only parameters in reset_mock call | Kushal Das | 2016-06-02 | 2 | -1/+24 |
| | | | | | | | | | | 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 #27171: Merge typo fixes from 3.5 | Martin Panter | 2016-06-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 2 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 2 | -2/+2 |
| | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | | Issue #27063: Some unittest loader tests were silently skipped. | Serhiy Storchaka | 2016-05-20 | 1 | -26/+28 |
|\ \ | |/ | |||||
| * | 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 | 2 | -0/+14 |
|\ \ | |/ | | | | | Patch from Yolanda Robla. | ||||
| * | Issue #26807: mock_open 'files' no longer error on readline at end of file. | Robert Collins | 2016-05-16 | 2 | -0/+14 |
| | | | | | | | | Patch from Yolanda Robla. | ||||
* | | Merge 3.5 | Serhiy Storchaka | 2016-04-25 | 2 | -3/+79 |
|\ \ | |/ | |||||
| * | Issue #26837: assertSequenceEqual() now correctly outputs non-stringified | Serhiy Storchaka | 2016-04-25 | 2 | -3/+79 |
| | | | | | | | | | | differing items (like bytes in the -b mode). This affects assertListEqual() and assertTupleEqual(). | ||||
* | | 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-29 | 1 | -3/+6 |
|\ \ | |/ | |||||
| * | Fix ResourceWarning in test_unittest when interrupted | Victor Stinner | 2016-03-29 | 1 | -3/+6 |
| | | |||||
* | | Issue #25195: Fix a regression in mock.MagicMock | Berker Peksag | 2016-03-27 | 2 | -0/+20 |
|\ \ | |/ | | | | | | | | | | | _Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer. | ||||
| * | Issue #25195: Fix a regression in mock.MagicMock | Berker Peksag | 2016-03-27 | 2 | -0/+20 |
| | | | | | | | | | | | | | | _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 | 2 | -0/+42 |
|\ \ | |/ | | | | | Patch from Victor van den Elzen. | ||||
| * | #25320: Handle sockets in directories unittest discovery is scanning. | Robert Collins | 2016-03-15 | 2 | -0/+42 |
| | | | | | | | | Patch from Victor van den Elzen. | ||||
* | | Add Mock.assert_called() | Victor Stinner | 2016-03-11 | 2 | -0/+39 |
| | | | | | | | | | | Issue #26323: Add assert_called() and assert_called_once() methods to unittest.mock.Mock. | ||||
* | | Merge 'used with permission' additions | Brett Cannon | 2016-01-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Add some "used with permission" mentions where external resources are ↵ | Brett Cannon | 2016-01-15 | 1 | -1/+1 |
| | | | | | | | | | | | | referenced. Permission was validated prior to adding these markings. | ||||
* | | Issue25347 - Format the error message output of mock's assert_has_calls method. | Senthil Kumaran | 2016-01-12 | 1 | -1/+1 |
|/ | | | | Patch contributed by Robert Zimmerman. | ||||
* | Issue #22138: Fix mock.patch behavior when patching descriptors. Restore | Senthil Kumaran | 2016-01-09 | 2 | -1/+30 |
| | | | | | | 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 |
| | |||||
* | Marked keystrokes with the :kbd: role. | Serhiy Storchaka | 2015-09-12 | 1 | -1/+1 |
|\ | | | | | | | Fixed the case of the "Ctrl-" prefixes. | ||||
| * | Marked keystrokes with the :kbd: role. | Serhiy Storchaka | 2015-09-12 | 1 | -1/+1 |
| | | | | | | | | Fixed the case of the "Ctrl-" prefixes. | ||||
* | | Issue #24857: Comparing call_args to a long sequence now correctly returns a | Berker Peksag | 2015-09-09 | 2 | -2/+6 |
|\ \ | |/ | | | | | | | | | boolean result instead of raising an exception. Patch by A Kaptur. | ||||
| * | Issue #24857: Comparing call_args to a long sequence now correctly returns a | Berker Peksag | 2015-09-09 | 2 | -2/+6 |
| | | | | | | | | | | | | 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 | 2 | -2/+38 |
|\ \ | |/ | | | | | Patch from Berker Peksag. | ||||
| * | Issue #21112: Fix regression in unittest.expectedFailure on subclasses. | Robert Collins | 2015-08-27 | 2 | -2/+38 |
| | | | | | | | | Patch from Berker Peksag. | ||||
* | | Issue #20362: Honour TestCase.longMessage correctly in assertRegex. | Robert Collins | 2015-08-19 | 2 | -8/+25 |
| | | | | | | | | Patch from Ilia Kurenkov. | ||||
* | | Issue #23004: mock_open() now reads binary data correctly when the type of ↵ | Berker Peksag | 2015-08-06 | 2 | -3/+32 |
|\ \ | |/ | | | | | | | | | read_data is bytes. Initial patch by Aaron Hill. | ||||
| * | Issue #23004: mock_open() now reads binary data correctly when the type of ↵ | Berker Peksag | 2015-08-06 | 2 | -3/+32 |
| | | | | | | | | | | | | 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 | 3 | -39/+68 |
|\ \ | |/ |