Logo
Explore Help
Register Sign In
PublicArchive/cpython
2
0
Fork 0
You've already forked cpython
mirror of https://github.com/python/cpython.git synced 2026-05-11 23:18:57 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
2ebf8ce488b64fb4a205e6b94de309d56cf387d2
cpython/Lib/importlib/test/import_
T
History
Brett Cannon 1c1dcbfd5d Trying to import a submodule from another module and not a package was raising
AttributeError in importlib when it should be an ImportError.

Found when running importlib against test_runpy.
2009-08-30 20:22:21 +00:00
..
__init__.py
…
test___package__.py
When the globals argument to importlib.__import__() contained any value for
2009-08-30 19:53:48 +00:00
test_api.py
Raise TypeError if the name given to importlib.__import__() lacks an rpartition
2009-08-30 19:08:58 +00:00
test_caching.py
Have importlib raise ImportError if None is found in sys.modules. This matches
2009-08-30 03:47:36 +00:00
test_fromlist.py
Allow importlib.__import__ to accept any iterable for fromlist. Discovered when
2009-08-30 18:28:46 +00:00
test_meta_path.py
convert old fail* assertions to assert*
2009-06-30 23:06:06 +00:00
test_packages.py
Trying to import a submodule from another module and not a package was raising
2009-08-30 20:22:21 +00:00
test_path.py
Remove unused import for function that no longer exists.
2009-07-01 02:51:00 +00:00
test_relative_imports.py
Move over to using assertRaises as a context manager for importlib tests.
2009-08-27 23:49:21 +00:00
util.py
Fix the importlib_only test decorator to work again; don't capture the flag variable as it might change later.
2009-08-30 18:59:21 +00:00
Powered by Gitea Version: 1.26.1 Page: 1486ms Template: 5ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API