[issue33516] unittest.mock: Add __round__ to supported magicmock methods

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: Thank you Martijn Pieters for the feature request/bug report, and thanks John Reese for the implementation! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue33516] unittest.mock: Add __round__ to supported magicmock methods

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6c4fab0f4b95410a1a964a75dcdd953697eff089 by Victor Stinner (John Reese) in branch 'master': bpo-33516: Add support for __round__ in MagicMock (GH-6880)

[issue33516] unittest.mock: Add __round__ to supported magicmock methods

2018-05-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +michael.foord versions: +Python 3.8 ___ Python tracker ___

[issue33516] unittest.mock: Add __round__ to supported magicmock methods

2018-05-17 Thread John Reese
Change by John Reese : -- nosy: +jreese, lukasz.langa ___ Python tracker ___ ___

[issue33516] unittest.mock: Add __round__ to supported magicmock methods

2018-05-15 Thread John Reese
Change by John Reese : -- keywords: +patch pull_requests: +6553 stage: -> patch review ___ Python tracker ___

[issue33516] unittest.mock: Add __round__ to supported magicmock methods

2018-05-15 Thread Martijn Pieters
New submission from Martijn Pieters : 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.