From 628587aa15a8f447185a6adfd66e2ef6092cd4ff Mon Sep 17 00:00:00 2001 From: Trayan Azarov Date: Wed, 27 Mar 2024 19:20:44 +0200 Subject: [PATCH] test: Regex, why! --- chromadb/test/test_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/chromadb/test/test_client.py b/chromadb/test/test_client.py index 2e3be52ab2a..cf6d7f12ac4 100644 --- a/chromadb/test/test_client.py +++ b/chromadb/test/test_client.py @@ -102,6 +102,7 @@ def test_persistent_client_close() -> None: col1.add(ids=["1"], documents=["test1"]) open_files = current_process.open_files() print("OPEN FILES", open_files) + print(re.escape(temp_persist_dir)) filtered_open_files = [ file for file in open_files if re.search(re.escape(temp_persist_dir), file.path) ]