Numeric array in unittest problem

ajikoe at gmail.com ajikoe at gmail.com
Mon Nov 21 13:40:11 CET 2005


hello,

I found that if I use Numeric.array into unittest it is not
consistance,
Is that normal ?

import Numeric
class myTest(unittest.TestCase):
    def runTest(self):
        a = Numeric.array([1,2])
        b = Numeric.array([1,33])
        self.assertEqual(a, b)
    pass


This will not raise any error ???

Any idea?

Sincerely Yours,
pujo




More information about the Python-list mailing list