On Wed, Aug 8, 2018 at 8:27 AM, Hameer Abbasi <einstein.edi...@gmail.com> wrote:
> > On 8. Aug 2018, at 17:23, Charles R Harris <charlesr.har...@gmail.com> > wrote: > > > > Hi All, > > > > I'm writing some tests and would like to come to a common understanding > as to whether we are should use pytest fixtures and parametrized classes > and functions. The immediate problem is testing over all types that should > be supported, which something we should to much more of and is most easily > achieved using one of those pytest tools. The advantage is code clarity and > more informative error messages, the disadvantage is being dependent on > pytest as unittest does not support that functionality. > > > > Thoughts? > > > > Chuck > > _______________________________________________ > > NumPy-Discussion mailing list > > NumPy-Discussion@python.org > > https://mail.python.org/mailman/listinfo/numpy-discussion > > Hi all! > > I think it mainly depends on how likely we are to move away from Pytest. > And I’m assuming not very likely. Anything likely to replace it (which > won’t happen short-term in any case) will already have something similar, > IMO. > > So my vote is we go ahead and use them. > I agree. There's no other viable test framework at the moment, so spending effort reinventing pytest features is a waste of time right now. Cheers, Ralf
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion