(self, tmp_path)
| 72 | del fp |
| 73 | |
| 74 | def test_filename(self, tmp_path): |
| 75 | tmpname = tmp_path / "mmap" |
| 76 | fp = memmap(tmpname, dtype=self.dtype, mode='w+', |
| 77 | shape=self.shape) |
| 78 | abspath = Path(os.path.abspath(tmpname)) |
| 79 | fp[:] = self.data[:] |
| 80 | assert_equal(abspath, fp.filename) |
| 81 | b = fp[:1] |
| 82 | assert_equal(abspath, b.filename) |
| 83 | del b |
| 84 | del fp |
| 85 | |
| 86 | def test_path(self, tmp_path): |
| 87 | tmpname = tmp_path / "mmap" |
nothing calls this directly
no test coverage detected