Skip to content

Commit

Permalink
Replace deprecated module in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jun 10, 2024
1 parent 9d78941 commit 7e9b597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubelt/util_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def import_module_from_name(modname):
>>> import sys
>>> modname_list = [
>>> 'pickletools',
>>> 'lib2to3.fixes.fix_apply',
>>> 'email.mime.text',
>>> ]
>>> #assert not any(m in sys.modules for m in modname_list)
>>> modules = [ub.import_module_from_name(modname) for modname in modname_list]
Expand Down

0 comments on commit 7e9b597

Please sign in to comment.