[New-bugs-announce] [issue24651] Mock.assert* API is in user namespace
report at bugs.python.org
Fri Jul 17 09:56:00 CEST 2015
New submission from Robert Collins:
We had a discussion on the list sparked by the assret checking, and in it I proposed that the API would be cleaner if the asserts were module functions.
e.g. rather than::
Michael has objected to this saying that the current structure is part of mock's success - but I'm filing this since a number of other core devs seemed to really like the idea. We can discuss here and if the consensus is that it wouldn't be an improvement - thats fine. OTOH if the consensus is that it is an improvement, this can serve as a memo to someone to implement the new API.
components: Library (Lib)
title: Mock.assert* API is in user namespace
versions: Python 3.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce