On Thu, Aug 28, 2008 at 5:26 PM, Charles R Harris
<[EMAIL PROTECTED]> wrote:
> Where does _assert_func come from in this fragment from a test class?
>
> class _GenericTest(object):
>     def _test_equal(self, a, b):
>         self._assert_func(a, b)
>
> I hope it isn't monkey patched in.

It could be meant as a mix-in, case in which it would be ok for the
class to be incomplete as written.  A bit surprising, but not
necessarily incorrect.

If it's not meant to be a base/mix-in class, then it's a good ole'bug.

Cheers,

f
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to