<div dir="auto">Thank you!<div dir="auto"><br></div><div dir="auto">If I understand correctly this is just the hg style branch backport consequence, multiple copies of a change. Should be safe to skip those.</div><div dir="auto"><br></div><div dir="auto">Rob</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 28 Apr 2019, 07:11 Chris Withers, <<a href="mailto:chris@withers.org">chris@withers.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I'm in the process of bringing the mock backport up to date, but this <br>
has got me stumped:<br>
<br>
$ git log --oneline  --no-merges <br>
5943ea76d529f9ea18c73a61e10c6f53bdcc864f.. -- Lib/unittest/mock.py <br>
Lib/unittest/test/testmock/ | tail<br>
362f058a89 Issue #28735: Fixed the comparison of mock.MagickMock with <br>
mock.ANY.<br>
d9c956fb23 Issue #20804: The unittest.mock.sentinel attributes now <br>
preserve their identity when they are copied or pickled.<br>
84b6fb0eea Fix unittest.mock._Call: don't ignore name<br>
161a4dd495 Issue #28919: Simplify _copy_func_details() in unittest.mock<br>
ac5084b6c7 Fixes issue28380: unittest.mock Mock autospec functions now <br>
properly support assert_called, assert_not_called, and assert_called_once.<br>
0be894b2f6 Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).<br>
15f44ab043 Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).<br>
d4583d7fea Issue #26750: use inspect.isdatadescriptor instead of our own <br>
_is_data_descriptor().<br>
9854789efe Issue #26750: unittest.mock.create_autospec() now works <br>
properly for subclasses of property() and other data descriptors.<br>
204bf0b9ae English spelling and grammar fixes<br>
<br>
Right, so I've merged up to 15f44ab043, what comes next?<br>
<br>
$ git log --oneline  --no-merges 15f44ab043.. -- Lib/unittest/mock.py <br>
Lib/unittest/test/testmock/ | tail -n 3<br>
161a4dd495 Issue #28919: Simplify _copy_func_details() in unittest.mock<br>
ac5084b6c7 Fixes issue28380: unittest.mock Mock autospec functions now <br>
properly support assert_called, assert_not_called, and assert_called_once.<br>
0be894b2f6 Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).<br>
<br>
Okay, no idea why 0be894b2f6 is there, appears to be a totally identical <br>
commit to 15f44ab043, so let's skip it:<br>
<br>
$ git log --oneline  --no-merges 0be894b2f6.. -- Lib/unittest/mock.py <br>
Lib/unittest/test/testmock/ | tail -n 3<br>
161a4dd495 Issue #28919: Simplify _copy_func_details() in unittest.mock<br>
ac5084b6c7 Fixes issue28380: unittest.mock Mock autospec functions now <br>
properly support assert_called, assert_not_called, and assert_called_once.<br>
15f44ab043 Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).<br>
<br>
Wat?! Why is 15f44ab043 showing up again?!<br>
<br>
What's the git subtlety I'm missing here?<br>
<br>
Chris<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank" rel="noreferrer">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/robertc%40robertcollins.net" rel="noreferrer noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/robertc%40robertcollins.net</a><br>
</blockquote></div>