[Python-Dev] How far to go with user-friendliness
solipsis at pitrou.net
Fri Jul 17 01:15:03 CEST 2015
On Wed, 15 Jul 2015 20:39:37 +1200
Robert Collins <robertc at robertcollins.net> wrote:
> On 15 July 2015 at 19:17, Antoine Pitrou <solipsis at pitrou.net> wrote:
> > On Wed, 15 Jul 2015 10:22:14 +1200
> > Robert Collins <robertc at robertcollins.net> wrote:
> >> For clarity, I think we should:
> >> - remove the assret check, it is I think spurious.
> >> - add a set of functions to the mock module that should be used in
> >> preference to Mock.assert*
> >> - mark the Mock.assert* functions as PendingDeprecation
> >> - in 3.6 move the PendingDeprecation to Deprecated
> >> - in 3.7 remove the Mock.assert* functions and the check for method
> >> names beginning with assert entirely.
> > I think removing them is a bit too strong. There's software out there
> > that would like to have cross-version-compatible test suites.
> Which they can do using 'mock'.
You mean the backported version?
More information about the Python-Dev