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

Open
aisk opened this issue Nov 28, 2023 · 0 comments · May be fixed by #1436
Open

_ImportRedirect is using deprecated load_module function #1435

aisk opened this issue Nov 28, 2023 · 0 comments · May be fixed by #1436

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()
@aisk aisk linked a pull request Nov 28, 2023 that will close this issue
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