(self)
| 221 | return "FakeFD" |
| 222 | |
| 223 | def test_dir(self): |
| 224 | fd = TestStreamWrapper._FakeFD("") |
| 225 | wrap_fd = StreamWrapper(fd) |
| 226 | |
| 227 | s = set(dir(wrap_fd)) |
| 228 | for api in ['open', 'read', 'close']: |
| 229 | self.assertTrue(api in s) |
| 230 | |
| 231 | @skipIfTorchDynamo |
| 232 | def test_api(self): |
nothing calls this directly
no test coverage detected