bemade_utils update

This commit is contained in:
Marc Durepos 2024-03-12 16:44:18 -04:00
parent 1a5f216b1d
commit 0191aeba51

View file

@ -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)