From a285664932c8ea828d995f289c2b070091f53dd6 Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Thu, 7 Mar 2024 10:14:09 -0800 Subject: [PATCH] Update test.py --- test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 08efa0f59..978317847 100644 --- a/test.py +++ b/test.py @@ -70,8 +70,9 @@ def run_test_suite(directory, description="", verbose=True): def _import_from_file(script): # import imp was replaced due to python 3.12 dropping the module. # this will be removed/changed when pytest is integrated. - from importlib.machinery import SourceFileLoader - return SourceFileLoader(script, os.path.basename(script)) + # from importlib.machinery import SourceFileLoader + # return SourceFileLoader(script, os.path.basename(script)) + pass warning_re = re.compile("Parent module '[a-zA-Z0-9]+' not found while handling absolute import")