Up to [cvs.NetBSD.org] / pkgsrc / devel / py-mock
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: pkgsrc-2016Q2-base
Revision 1.2 / (download) - annotate - [selected], Tue Jul 14 08:48:13 2015 UTC (8 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3
Changes since 1.1: +39 -3
lines
Diff to previous 1.1 (unified)
Update to 1.1.2: 1.1.2 ----- * Closes #269: setup_requires pbr 1.3 1.1.1 ----- * Closes #257: version the dependency on six * Rename README.txt to README.rst 1.1.0 ----- * Make reproducing travis behaviour somewhat easier * Cleanup version number handling * Overhaul docs * Update docs * Remove stale MANIFEST.in, ignore pbr outputs * Convert to a package, use pbr, update metadata * Bump versions * Officially drop 2.6 support * Issue #23310: Fix MagicMock's initializer to work with __methods__. Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim * Issue #23568: Add rdivmod support to MagicMock() objects * Issue #23581: Add matmul support to MagicMock * Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ implementation in issue #21408 they are redundant * Issue #22823: Use set literals instead of creating a set from a list. Fixed an output of sets in examples * Closes #21270 : We now override tuple methods in mock.call objects * Suppress a couple more DeprecationWarnings in the test suite * Closes #21256: Printout of keyword args in deterministic order in mock calls * Removes unused varargs and varkwargs from assert_not_called() * Closes Issue 21262: New method assert_not_called for Mock * Closes Issue 21238: New keyword argument `unsafe` to Mock * Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times * Closes Issue 21222 * Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names * Issue 17826. Setting an iterable side_effect on a mock created by create_autospec now works * Issue 20968. unittest.mock.MagicMock now supports division * Issue #20189: Four additional builtin types (PyTypeObject, PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes * Issue #19594: Use specific asserts in unittest tests * Remove shadowed test * Adjust comment * Issue #19013: add a __main__ to unittest.test.testmock to ease CLI invocation * Issue #19013: add unittest.main() epilogs to unittest.mock's own test modules * Process DEFAULT values in mock side_effect that returns iterator * Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open * Issue #17047: remove doubled words added in 3.3 as reported by Serhiy Storchaka and Matthew Barnett * Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name * Closes issue 15323. Improve failure message of Mock.assert_called_once_with * Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue * Remove incorrect comment * Closes issue 14634. unittest.mock.create_autospec now supports keyword only arguments * unittest.mock: removed another bit of Python 2 only code * Adding unittest.mock documentation * unittest.mock: remove another piece of Python 2 specific code * Remove more Python 2 code from unittest.mock (obsolete function attributes) * Support subclassing unittest.mock._patch and fix various obscure bugs around patcher spec arguments * unittest.mock.MagicMock objects are now unorderable by default * Removed XXX from unittest.mock docstring and switch to a nicer try...except...finally * Remove more Python 2 compatibility cruft from unittest.mock * PEP 417: Adding unittest.mock * Ignore patch rejects too * Add NEWS * Add PyPy to travis * Issue #20189: Four additional builtin types * Just hard-depend on unittest2 * Fix typo in test name * Some basic release process notes * Ignore more editor files * Add testrepository configuration * We never need sudo. Containers FTW * Fixup ignores * Iterating on .travis.yml * Setup Travis-CI