This `npt` looks strange (not standard in scipy). The usual way is `from numpy,testing import assert_, assert_equal, ...`.