(self)
| 263 | _ = pickle.loads(pickle.dumps(wrap_fd)) |
| 264 | |
| 265 | def test_repr(self): |
| 266 | fd = TestStreamWrapper._FakeFD("") |
| 267 | wrap_fd = StreamWrapper(fd) |
| 268 | self.assertEqual(str(wrap_fd), "StreamWrapper<FakeFD>") |
| 269 | |
| 270 | with tempfile.TemporaryFile() as f: |
| 271 | wrap_f = StreamWrapper(f) |
| 272 | self.assertEqual(str(wrap_f), "StreamWrapper<" + str(f) + ">") |
| 273 | |
| 274 | |
| 275 | class TestIterableDataPipeBasic(TestCase): |
nothing calls this directly
no test coverage detected