(self)
| 31 | self.assertIsInstance(self.root, _ReadablePath) |
| 32 | |
| 33 | def test_open_r(self): |
| 34 | p = self.root / 'fileA' |
| 35 | with vfsopen(p, 'r', encoding='utf-8') as f: |
| 36 | self.assertIsInstance(f, io.TextIOBase) |
| 37 | self.assertEqual(f.read(), 'this is file A\n') |
| 38 | |
| 39 | def test_open_r_buffering_error(self): |
| 40 | p = self.root / 'fileA' |
nothing calls this directly
no test coverage detected