(tmpdir)
| 1248 | |
| 1249 | |
| 1250 | def test_memory_map_close_remove(tmpdir): |
| 1251 | # ARROW-6740: should be able to delete closed memory-mapped file (Windows) |
| 1252 | path = os.path.join(str(tmpdir), guid()) |
| 1253 | mmap = pa.create_memory_map(path, 4096) |
| 1254 | mmap.close() |
| 1255 | assert mmap.closed |
| 1256 | os.remove(path) # Shouldn't fail |
| 1257 | |
| 1258 | |
| 1259 | def test_memory_map_deref_remove(tmpdir): |