(self)
| 4828 | self.assertEqual(pickle.HIGHEST_PROTOCOL, 5) |
| 4829 | |
| 4830 | def test_callapi(self): |
| 4831 | f = io.BytesIO() |
| 4832 | # With and without keyword arguments |
| 4833 | self.dump(123, f, -1) |
| 4834 | self.dump(123, file=f, protocol=-1) |
| 4835 | self.dumps(123, -1) |
| 4836 | self.dumps(123, protocol=-1) |
| 4837 | self.Pickler(f, -1) |
| 4838 | self.Pickler(f, protocol=-1) |
| 4839 | |
| 4840 | def test_dump_text_file(self): |
| 4841 | f = open(TESTFN, "w") |