mirror of https://github.com/python/cpython
whatsnew/3.5: Add missing word "class"
This commit is contained in:
parent
61ea0aadee
commit
878bc871b4
|
@ -1940,7 +1940,7 @@ tracebacks. (Contributed by Robert Collins in :issue:`22936`.)
|
||||||
unittest.mock
|
unittest.mock
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
The :class:`~unittest.mock.Mock` has the following improvements:
|
The :class:`~unittest.mock.Mock` class has the following improvements:
|
||||||
|
|
||||||
* Class constructor has a new *unsafe* parameter, which causes mock
|
* Class constructor has a new *unsafe* parameter, which causes mock
|
||||||
objects to raise :exc:`AttributeError` on attribute names starting
|
objects to raise :exc:`AttributeError` on attribute names starting
|
||||||
|
|
Loading…
Reference in New Issue