(tmpdir)
| 1240 | |
| 1241 | |
| 1242 | def test_memory_map_close_remove(tmpdir): |
| 1243 | # ARROW-6740: should be able to delete closed memory-mapped file (Windows) |
| 1244 | path = os.path.join(str(tmpdir), guid()) |
| 1245 | mmap = pa.create_memory_map(path, 4096) |
| 1246 | mmap.close() |
| 1247 | assert mmap.closed |
| 1248 | os.remove(path) # Shouldn't fail |
| 1249 | |
| 1250 | |
| 1251 | def test_memory_map_deref_remove(tmpdir): |