From 0191aeba51a2a8f12dbbb100a50b0368b01d1898 Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Tue, 12 Mar 2024 16:44:18 -0400 Subject: [PATCH] bemade_utils update --- bemade_utils/tools/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bemade_utils/tools/test.py b/bemade_utils/tools/test.py index 29e34d3..3f4aa18 100644 --- a/bemade_utils/tools/test.py +++ b/bemade_utils/tools/test.py @@ -14,7 +14,7 @@ def patch_test(original_method): # Extract module and class names module_name = original_method.__module__ - class_name = original_method.__qualname__.split('.')[0] # Assuming the method is always in a class + class_name = original_method.__qualname__.split('.')[0] # Import the module module = importlib.import_module(module_name)