def testReshape(self): a1 = numpy.empty((2,2)) a2 = ndarray_ext.reshape(a1,(1,4)) self.assertEqual(a2.shape,(1,4))