(self)
| 3342 | self.fail("expected bad protocol number to raise ValueError") |
| 3343 | |
| 3344 | def test_long1(self): |
| 3345 | x = 12345678910111213141516178920 |
| 3346 | for proto in protocols: |
| 3347 | s = self.dumps(x, proto) |
| 3348 | y = self.loads(s) |
| 3349 | self.assert_is_copy(x, y) |
| 3350 | self.assertEqual(opcode_in_pickle(pickle.LONG1, s), proto >= 2) |
| 3351 | |
| 3352 | def test_long4(self): |
| 3353 | x = 12345678910111213141516178920 << (256*8) |
nothing calls this directly
no test coverage detected