bemade_utils update
This commit is contained in:
parent
1a5f216b1d
commit
0191aeba51
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ def patch_test(original_method):
|
||||||
|
|
||||||
# Extract module and class names
|
# Extract module and class names
|
||||||
module_name = original_method.__module__
|
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
|
# Import the module
|
||||||
module = importlib.import_module(module_name)
|
module = importlib.import_module(module_name)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue