From 2829d4ba98c7be3a327139d9ea7edc6699442111 Mon Sep 17 00:00:00 2001 From: Philipp Grimm Date: Thu, 28 Mar 2024 22:44:03 +0100 Subject: [PATCH] try to fix get site-packages folder for ubutnu --- tests/test_metadata.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_metadata.py b/tests/test_metadata.py index 5ffa73ec..c05d959c 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -14,8 +14,6 @@ def get_site_package_folder(self): def find_lib_folder(self, lib_name:str): dirs = [f for f in os.listdir(self.get_site_package_folder()) if f.startswith(lib_name.replace('-', '_')+'-')] if len(dirs) == 1: - for f in os.listdir(os.path.join(self.get_site_package_folder(),dirs[0])): - print(f"file in dir: {f}") return os.path.join(self.get_site_package_folder(), dirs[0]) return None