From 5f81d3d59f644f70c9c69799dc512551dee0a536 Mon Sep 17 00:00:00 2001 From: Dax Pryce Date: Thu, 24 Oct 2024 04:57:02 +0000 Subject: [PATCH] . --- python/tests/test_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_files.py b/python/tests/test_files.py index 4b45805cb..c40c8b027 100644 --- a/python/tests/test_files.py +++ b/python/tests/test_files.py @@ -24,8 +24,8 @@ def test_in_mem(self): def test_memmap(self): expected = random_vectors(10_000, 100, dtype=np.float32) with vectors_as_temp_file(expected) as vecs_file: + vecs_files_copy = Path(tempfile.mkstemp()) try: - vecs_files_copy = Path(tempfile.mkstemp()) shutil.copyfile(vecs_file, str(vecs_file_copy)) actual = dap.vectors_from_file( vecs_file,