You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jreback: I'd like to claim it was mad hax0r skillz, but really I just ran cython filename.py. Even when I'm not going to use the cythonized version it's handy to pick up certain classes of errors.
@dsm054 That is a useful technique. When I wrote these I got a bit overwhelmed with trying to cover all the possible test cases without being repetitive. Looks like I was only partially successful at either 😦
There are two strange things in
computation/tests/test_eval.py
.First, in
check_complex_cmp_op
:neither
lhs_new
norrhs_new
are defined (they're defined later on another branch). Probably they're meant to be simplylhs
andrhs
.Second, in the subfunction
check_operands
:assertRaises
isn't defined. This should probably betm.assertRaises
, as in the previousI guess neither of these code paths are being exercised at the moment, which is why it hasn't been an issue.
The text was updated successfully, but these errors were encountered: