(self)
| 4332 | assert_equal(a, p) |
| 4333 | |
| 4334 | def test_version0_float32(self): |
| 4335 | s = b'\x80\x02cnumpy.core._internal\n_reconstruct\nq\x01cnumpy\nndarray\nq\x02K\x00\x85U\x01b\x87Rq\x03(K\x04\x85cnumpy\ndtype\nq\x04U\x02f4K\x00K\x01\x87Rq\x05(U\x01<NNJ\xff\xff\xff\xffJ\xff\xff\xff\xfftb\x89U\x10\x00\x00\x80?\x00\x00\x00@\x00\x00@@\x00\x00\x80@tb.' |
| 4336 | a = np.array([1.0, 2.0, 3.0, 4.0], dtype=np.float32) |
| 4337 | p = self._loads(s) |
| 4338 | assert_equal(a, p) |
| 4339 | |
| 4340 | def test_version0_object(self): |
| 4341 | s = b'\x80\x02cnumpy.core._internal\n_reconstruct\nq\x01cnumpy\nndarray\nq\x02K\x00\x85U\x01b\x87Rq\x03(K\x02\x85cnumpy\ndtype\nq\x04U\x02O8K\x00K\x01\x87Rq\x05(U\x01|NNJ\xff\xff\xff\xffJ\xff\xff\xff\xfftb\x89]q\x06(}q\x07U\x01aK\x01s}q\x08U\x01bK\x02setb.' |
nothing calls this directly
no test coverage detected