diff --git a/python/tests/test_files.py b/python/tests/test_files.py index c7fd2d708..e59cace17 100644 --- a/python/tests/test_files.py +++ b/python/tests/test_files.py @@ -42,7 +42,7 @@ def test_memmap(self): mode="r+" ) self.assertTrue((expected == actual).all(), f"{expected == actual}\n{expected}\n{actual}") - vecs_file_copy.unlink() + Path(vecs_file_copy).unlink() if __name__ == '__main__':