(self)
| 288 | self.assertEqual(a, b) |
| 289 | |
| 290 | def test_reduce_ex(self): |
| 291 | a = array.array(self.typecode, self.example) |
| 292 | for protocol in range(3): |
| 293 | self.assertIs(a.__reduce_ex__(protocol)[0], array.array) |
| 294 | for protocol in range(3, pickle.HIGHEST_PROTOCOL + 1): |
| 295 | self.assertIs(a.__reduce_ex__(protocol)[0], array_reconstructor) |
| 296 | |
| 297 | def test_pickle(self): |
| 298 | for protocol in range(pickle.HIGHEST_PROTOCOL + 1): |
no test coverage detected