(self)
| 553 | is_stream = False |
| 554 | |
| 555 | def test_no_name_argument(self): |
| 556 | with open(self.tarname, "rb") as fobj: |
| 557 | self.assertIsInstance(fobj.name, str) |
| 558 | with tarfile.open(fileobj=fobj, mode=self.mode) as tar: |
| 559 | self.assertIsInstance(tar.name, str) |
| 560 | self.assertEqual(tar.name, os.path.abspath(fobj.name)) |
| 561 | |
| 562 | def test_no_name_attribute(self): |
| 563 | with open(self.tarname, "rb") as fobj: |
nothing calls this directly
no test coverage detected