[issue33516] unittest.mock: Add __round__ to supported magicmock methods
Martijn Pieters
report at bugs.python.org
Tue May 15 07:48:12 EDT 2018
New submission from Martijn Pieters <mj at python.org>:
I notice that __trunc__, __floor__ and __ceil__ are supported methods for MagicMock, but __round__ (in the same grouping of numeric types emulation methods, see https://docs.python.org/3/reference/datamodel.html#object.__round__), is not.
Please add this to the mapping too.
----------
components: Library (Lib)
messages: 316641
nosy: mjpieters
priority: normal
severity: normal
status: open
title: unittest.mock: Add __round__ to supported magicmock methods
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33516>
_______________________________________
More information about the Python-bugs-list
mailing list