(self)
| 320 | self.assertEqual(a, b) |
| 321 | |
| 322 | def test_reduce_ex(self): |
| 323 | a = array.array(self.typecode, self.example) |
| 324 | for protocol in range(3): |
| 325 | self.assertIs(a.__reduce_ex__(protocol)[0], array.array) |
| 326 | for protocol in range(3, pickle.HIGHEST_PROTOCOL + 1): |
| 327 | self.assertIs(a.__reduce_ex__(protocol)[0], array_reconstructor) |
| 328 | |
| 329 | def test_pickle(self): |
| 330 | for protocol in range(pickle.HIGHEST_PROTOCOL + 1): |
nothing calls this directly
no test coverage detected