(self)
| 33 | self.assertEqual(f.read(), b'newcontent') |
| 34 | |
| 35 | def test_overwrite_dir_as_dir(self): |
| 36 | target = os.path.join(self.testdir, 'test') |
| 37 | os.mkdir(target) |
| 38 | with self.open(self.ar_with_dir) as ar: |
| 39 | self.extractall(ar) |
| 40 | self.assertTrue(os.path.isdir(target)) |
| 41 | |
| 42 | def test_overwrite_dir_as_implicit_dir(self): |
| 43 | target = os.path.join(self.testdir, 'test') |
nothing calls this directly
no test coverage detected