Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_ImportRedirect is using deprecated load_module function #1435

Closed
aisk opened this issue Nov 28, 2023 · 0 comments
Closed

_ImportRedirect is using deprecated load_module function #1435

aisk opened this issue Nov 28, 2023 · 0 comments

Comments

@aisk
Copy link

aisk commented Nov 28, 2023

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:

<frozen importlib._bootstrap>:671: ImportWarning: _ImportRedirect.exec_module() not found; falling back to load_module()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant