Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
mock
/
5e72ebe01cd0558c48c170efc577c3dfcc85fae9
5e72ebe
Deferring fixing this into https://github.com/testing-cabal/mock/issues/452
by Chris Withers
· 6 years ago
5d0f584
latest sync point
by Chris Withers
· 6 years ago
cee1b06
no subtest on Py2.
by Chris Withers
· 6 years ago
6039ff3
bpo-23078: Add support for {class,static}method to mock.create_autospec() (GH-11613)
by Xtreak
· 6 years ago
0e50d0d
bpo-36593: Fix isinstance check for Mock objects with spec executed under tracing (GH-12790)
by Xtreak
· 6 years ago
e07d77b
bpo-36366: Return None on stopping unstarted patch object (GH-12472)
by Xtreak
· 6 years ago
19b9035
bpo-21269: Provide args and kwargs attributes on mock call objects GH11807
by Kumar Akshay
· 6 years ago
b5903d4
Autospec functions should propagate mock calls to parent GH-11273
by Xtreak
· 6 years ago
5268eda
bpo-35512: Resolve string target to patch.dict decorator during function call GH#12000
by Xtreak
· 6 years ago
3830cd5
bpo-35500: align expected and actual calls on mock.assert_called_with error message. (GH-11804)
by Susan Su
· 6 years ago
dde37a2
Py2-compatible super call
by Chris Withers
· 6 years ago
373301e
bpo-20239: Allow repeated deletion of unittest.mock.Mock attributes (#11057)
by Pablo Galindo
· 6 years ago
019b1b5
Fix mock_open docstring to use readline (#11176)
by Xtreak
· 6 years ago
031ea76
These appear to be unsued.
by Chris Withers
· 6 years ago
2a31bd0
fix double patching on Py2.
by Chris Withers
· 6 years ago
c86fadf
Add test for double patching instance methods (#11085)
by Anthony Sottile
· 6 years ago
6611a75
Have to use the funcsigs backport on Py2.
by Chris Withers
· 6 years ago
a2e00f4
move python 3-only code to its own file.
by Chris Withers
· 6 years ago
99b1b18
Flip to pytest so we can exclude files that won't parse on Py2.
by Chris Withers
· 6 years ago
a7b0ba1
bpo-17185: Add __signature__ to mock that can be used by inspect for signature (GH11048)
by Xtreak
· 6 years ago
796edd4
bpo-35330: Don't call the wrapped object if `side_effect` is set (GH10973)
by Mario Corchero
· 6 years ago
b1c060e
bring uncache helper across from cpython
by Chris Withers
· 6 years ago
2a0b425
bpo-33747: Avoid mutating the global sys.modules dict in unittest.mock tests (GH-8520)
by Anirudha Bose
· 6 years ago
e95565a
Backports: 20428527a7c188d988d20b267cfef58da10b0fc9, skipped: it has no changes needed here.
by Chris Withers
· 6 years ago
7c85fb2
handle more news locations
by Chris Withers
· 6 years ago
962077b
bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (#10873)
by Andrew Dunai
· 6 years ago
c052ed1
bpo-35226: Fix equality for nested unittest.mock.call objects. (#10555)
by Chris Withers
· 6 years ago
c95a767
This needs to be a new-style class on Py2.
by Chris Withers
· 6 years ago
b496c46
handle new news location
by Chris Withers
· 6 years ago
52b1ecb
latest sync point
by Chris Withers
· 6 years ago
98f4fc4
bpo-32153: Add unit test for create_autospec with partial function returned in getattr (#10398)
by Xtreak
· 6 years ago
5a59329
bpo-31177: Skip deleted attributes while calling reset_mock (GH-9302)
by Xtreak
· 6 years ago
2df18d0
bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)
by Serhiy Storchaka
· 6 years ago
a137eb0
mention --skip-reason in backporting docs.
by Chris Withers
· 6 years ago
d656380
python-2 spelling is assertRaisesRegexp
by Chris Withers
· 6 years ago
79e5a26
latest sync point
by Chris Withers
· 6 years ago
5522ca0
rewrite f-string.
by Chris Withers
· 6 years ago
e684d67
backport note that f-strings should be re-written.
by Chris Withers
· 6 years ago
57ef3bb
bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures (GH-10090)
by Petter Strandmark
· 6 years ago
6065cab
fspath added in 3.6
by Chris Withers
· 6 years ago
5597129
bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)
by Max Bélanger
· 6 years ago
d42410a
unittest.mock doc: Fix references to recursive seal of Mocks (GH-9028)
by Mario Corchero
· 6 years ago
3008b82
No 'yield from' in Python 2.
by Chris Withers
· 6 years ago
73f6eed
bpo-32933: Implement __iter__ method on mock_open() (GH-5974)
by Tony Flury
· 6 years ago
94c3c57
Improve error message when mock.assert_has_calls fails (GH-8205)
by davidair
· 6 years ago
b4579b9
Backports: 9d6d06e8065d45f375f4a80e2d7e13b032da1f5b, skipped: it has no changes needed here.
by Chris Withers
· 6 years ago
934177a
In Python 2 round() and friends use __float__ first.
by Chris Withers
· 6 years ago
56cf6cb
bpo-33516: Add support for __round__ in MagicMock (GH-6880)
by John Reese
· 6 years ago
6b7acf2
bpo-32297: Few misspellings found in Python source code comments. (#4803)
by Mike
· 7 years ago
3d7869b
no f-strings in py2.
by Chris Withers
· 6 years ago
d4469c6
fixup import
by Chris Withers
· 6 years ago
28e7566
only include stuff we're interested in when applying the patch
by Chris Withers
· 6 years ago
1879443
paranoid regex change
by Chris Withers
· 6 years ago
565b044
bpo-30541: Add new method to seal mocks (GH61923)
by Mario Corchero
· 7 years ago
8d313cc
latest sync point
by Chris Withers
· 6 years ago
f4bc081
put news items in a .d directory for now.
by Chris Withers
· 6 years ago
c21fd35
Spelling fixes (#2902)
by Ville Skyttä
· 7 years ago
3860c79
Backports: 856cbcc12f2e4cca93af5dc7ed6bcea4dd942f10, skipped: code already present
by Chris Withers
· 6 years ago
fa64f8b
bpo-28961: Address my comments from earlier code review (#305)
by Berker Peksag
· 8 years ago
90058bf
Backports: 0be894b2f6ca17204922399d6982f0b8a9dc59a1, skipped: Already handled before
by Chris Withers
· 6 years ago
431b268
Fixes issue28380: unittest.mock Mock autospec functions now properly support
by Gregory P. Smith
· 8 years ago
27e6f17
bpo-28911: Clarify the behaviour of assert_called_once_with. (#251)
by Arne de Laat
· 8 years ago
4f25a9b
Record skips as backports so we can ignore them if they crop up in the git log command we're using again.
by Chris Withers
· 6 years ago
d178d44
Issue #28735: Fixed the comparison of mock.MagickMock with mock.ANY.
by Serhiy Storchaka
· 8 years ago
637abcb
Serhiy's approach didn't work on Python 2 or 3.4
by Chris Withers
· 6 years ago
b8e2399
python 2 has no subtest
by Chris Withers
· 6 years ago
5a0e779
Issue #20804: The unittest.mock.sentinel attributes now preserve their
by Serhiy Storchaka
· 8 years ago
f9efc3e
Fix unittest.mock._Call: don't ignore name
by Victor Stinner
· 8 years ago
8307e85
Backports: 161a4dd495dbf5cb12364e8f6e2d113cfd0633fc, skipped: code already in backport
by Chris Withers
· 6 years ago
5ee5062
skip ac5084b6c760ff5e6469854373fe6c3c81804f87, code already in backport
by Chris Withers
· 6 years ago
a336518
add the ability to skip an unneeded patch.
by Chris Withers
· 6 years ago
f6f3830
skip 0be894b2f6ca17204922399d6982f0b8a9dc59a1, it has no changes needed here.
by Chris Withers
· 6 years ago
4f0c247
empty file
by Chris Withers
· 6 years ago
1d1762e
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
by Raymond Hettinger
· 8 years ago
a7e2913
Issue #26750: use inspect.isdatadescriptor instead of our own
by Gregory P. Smith
· 8 years ago
76523d3
clarify this message
by Chris Withers
· 6 years ago
20f9d75
Issue #26750: unittest.mock.create_autospec() now works properly
by Gregory P. Smith
· 8 years ago
2f356b2
English spelling and grammar fixes
by Martin Panter
· 8 years ago
871b526
opportunistically update lastsync.txt
by Chris Withers
· 6 years ago
380d9e6
Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
by Serhiy Storchaka
· 8 years ago
978840c
These can't be keyword-only until 2.7 support is dropped.
by Chris Withers
· 6 years ago
1cd004f
clean up some old files that aren't needed anymore.
by Chris Withers
· 6 years ago
b0b839f
add note about changes needed to make patches work in the backport
by Chris Withers
· 6 years ago
eef871e
Issue #21271: Adds new keyword only parameters in reset_mock call
by Kushal Das
· 8 years ago
1a19afa
Issue #26807: mock_open 'files' no longer error on readline at end of file.
by Robert Collins
· 9 years ago
2af4664
skip e437a10d15ddfd21d406e591acccf12ff443194e as it has no changes needed.
by Chris Withers
· 6 years ago
b952ae4
skip 1e8ee9b3808cd6c1a7a29c75115d1060a8ee877b as it requires no changes here.
by Chris Withers
· 6 years ago
8a5e0c3
update backporting docs.
by Chris Withers
· 6 years ago
3f28478
Issue #25195: Fix a regression in mock.MagicMock
by Berker Peksag
· 9 years ago
fb1f5b3
script for backporting patches from cpython.
by Chris Withers
· 6 years ago
170d83e
Don't ignore rejected patches.
by Chris Withers
· 6 years ago
51239e4
Move last sync point to its own file.
by Chris Withers
· 6 years ago
bb815db
remove a copy of the version that's likely to get out of date
by Chris Withers
· 6 years ago
7a6ff35
Merge pull request #445 from tirkarthi/skip-pypy2
by Chris Withers
· 6 years ago
73bfd51
Skip failure test on pypy2 and make pypy2 mandatory
by xtreak
· 6 years ago
bf8efd2
functools.partial has no func_defaults on Py2
by Chris Withers
· 6 years ago
78dd97a
Merge pull request #389 from habnabit/fix-builtin-methods-for-cython
by Chris Withers
· 6 years ago
6db8d96
Fix autospec's behavior on method-bound builtins.
by Aaron Gallagher
· 8 years ago
c979e75
remove duplicate nightly run
by Chris Withers
· 6 years ago
b90af41
Merge pull request #440 from jdufresne/tox-simple
by Chris Withers
· 6 years ago
Next »