mirror of
https://github.com/python/cpython.git
synced 2026-01-01 04:53:46 +00:00
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>
3 lines
51 B
Python
3 lines
51 B
Python
attr = 'submodule'
|
|
class A:
|
|
attr = 'submodule'
|