[issue40820] Mock Call attributes args and kwargs have no changeversion

2020-05-29 Thread Andrius Gobis


Change by Andrius Gobis :


--
status: open -> pending

___
Python tracker 
<https://bugs.python.org/issue40820>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40820] Mock Call attributes args and kwargs have no changeversion

2020-05-29 Thread Andrius Gobis


New submission from Andrius Gobis :

In Python 3.8, the ``args`` and ``kwargs`` properties were added to Mock 
``Call`` objects (PR: https://github.com/python/cpython/pull/11807 Issue: 
https://bugs.python.org/issue21269).

However, the change did not add a change version to the documentation.

The ``Doc/library/unittest.mock.rst`` file should include the following in the 
``Call`` section:
```
The ``Doc/library/unittest.mock.rst`` file should include the following in the 
``Call`` section:
```
   .. versionchanged:: 3.8

  Added the ``args`` and ``kwargs`` properties to more easily access the 
positional args and keyword args within a ``Call``object tuple.
```

--
assignee: docs@python
components: Documentation
messages: 370330
nosy: Andrius Gobis, docs@python
priority: normal
severity: normal
status: open
title: Mock Call attributes args and kwargs have no changeversion
type: enhancement
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue40820>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com