You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bit of googling for python importlib the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead gave me these pointers:
I encountered an issue when running pytest on the repository. Specifically, the test suite is failing with the following error: [
repr/tests/run_test.py::test_get_module - crepr.crepr.CreprError: Error: file 'tests/classes/kw_only_test.py' not found.
failed crepr/tests/run_test.py::test_get_init_args - crepr. crepr.CreprError: Error: file 'tests/classes/kw_only_test.py' not found.
]
I reviewed the get_module function in crepr.py to ensure it is correctly located and loaded
Can you please help me deal with this pytest error
https://docs.python.org/3/library/importlib.html#importlib.machinery.SourcelessFileLoader.load_module
https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module
The text was updated successfully, but these errors were encountered: