[Numpy-discussion] Writing successful tests

Nathaniel Smith njs at pobox.com
Mon Apr 14 00:31:07 EDT 2014


On Mon, Apr 14, 2014 at 6:26 AM,  <matt at pagan.io> wrote:
> Greetings,
>
> I'm working on an additional function for numpy/lib/twodim_base.py. I'm
> trying to add some tests for the new function, and
> numpy/lib/tests/test_twodim_base.py seems like the right place for
> them.
> My problem is travis-ci tells me my tests are no good.

Hard to say without seeing the code, but are you subclassing TestCase?

-n

-- 
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org



More information about the NumPy-Discussion mailing list