diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 3643d1ad96ed11..9cc78c791e09d7 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -647,6 +647,10 @@ the *new_callable* argument to :func:`patch`. arguments and make more complex assertions. See :ref:`calls as tuples `. + .. versionchanged:: 3.8 + Added the ``args`` and ``kwargs`` properties to more easily access the + positional args and keyword args within a ``Call`` object. + .. attribute:: call_args_list diff --git a/Misc/ACKS b/Misc/ACKS index a505a3d7840369..d7b1206ffbb912 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -599,6 +599,7 @@ Neil Girdhar Matt Giuca Franz Glasner Wim Glenn +Andrew Gobis Michael Goderbauer Karan Goel Jeroen Van Goey diff --git a/Misc/NEWS.d/next/Documentation/2020-05-29-18-35-18.bpo-40820.SY-wL0.rst b/Misc/NEWS.d/next/Documentation/2020-05-29-18-35-18.bpo-40820.SY-wL0.rst new file mode 100644 index 00000000000000..c1902f3da445de --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2020-05-29-18-35-18.bpo-40820.SY-wL0.rst @@ -0,0 +1 @@ +Add missing change version for ``args`` and ``kwargs`` mock call objects. Contributed by Andrew Gobis. \ No newline at end of file