cpython/Lib/test/test_import/data/package4/submodule.py
Serhiy Storchaka c0eaa232f6
gh-117860: Add tests for resolving names when import rebind names (GH-118176)
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.
2024-04-30 17:23:44 +03:00

3 lines
51 B
Python

attr = 'submodule'
class A:
attr = 'submodule'