cpython/Lib/test/test_import
Miss Islington (bot) a030bae584
[3.12] gh-117860: Add tests for resolving names when import rebind names (GH-118176) (GH-118432)
Add tests for "import", pkgutil.resolve_name() and unittest.mock.path()
for cases when "import a.b as x" and "from a import b as x" give
different results.
(cherry picked from commit c0eaa232f6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2024-04-30 14:52:44 +00:00
..
data [3.12] gh-117860: Add tests for resolving names when import rebind names (GH-118176) (GH-118432) 2024-04-30 14:52:44 +00:00
__init__.py [3.12] gh-117860: Add tests for resolving names when import rebind names (GH-118176) (GH-118432) 2024-04-30 14:52:44 +00:00
__main__.py