Hi all,

I just came across tests for allclose that were using generators and
were in a subclass of unittest.TestCase. These tests won't run, nose
does not support this (see last line of
http://somethingaboutorange.com/mrl/projects/nose/1.0.0/writing_tests.html).
So if you write tests with "yield", don't subclass from TestCase!

I'll open a ticket for this and check more, but I thought this was
important and obscure enough to send a warning.

Cheers,
Ralf
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to