(self)
| 49 | os.remove(self.tmpfilepath) |
| 50 | |
| 51 | def test_w_mode(self): |
| 52 | with open(self.tmpfilepath, "w") as f: |
| 53 | f.write(self.teststring) |
| 54 | f.seek(0) |
| 55 | self.assertRaises(pickle.PicklingError, lambda: cloudpickle.dumps(f)) |
| 56 | os.remove(self.tmpfilepath) |
| 57 | |
| 58 | def test_plus_mode(self): |
| 59 | # Write, then seek to 0 |
nothing calls this directly
no outgoing calls
no test coverage detected