ENH: only using nose.tools and numpy.testing for assertions (no builtins)