Skip to content

Commit

Permalink
windows CI tests require memmap to be closed to remove tempdir
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Jan 22, 2024
1 parent 98e9fc3 commit 700c1e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iblatlas/tests/test_genomics.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ def test_load(self):
self.assertEqual(gene_expression_volumes.shape, (3, 58, 41, 67))
self.assertEqual(atlas_agea.image.shape, (58, 41, 67))
self.assertEqual(atlas_agea.label.shape, (58, 41, 67))
# on windows we need to close the memmap for the tempdir to be deleted
gene_expression_volumes._mmap.close()

0 comments on commit 700c1e6

Please sign in to comment.