Closed aisk closed 3 weeks ago
It's been deprecated in https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module , and runnint the unittest via python -m unittest -k "TestImportHook" will got this warning:
python -m unittest -k "TestImportHook"
<frozen importlib._bootstrap>:671: ImportWarning: _ImportRedirect.exec_module() not found; falling back to load_module()
It's been deprecated in https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module , and runnint the unittest via
python -m unittest -k "TestImportHook"
will got this warning: