mirror of
https://github.com/python/cpython.git
synced 2026-05-12 15:39:22 -04:00
a030bae584
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>
4 lines
51 B
Python
4 lines
51 B
Python
attr = 'submodule'
|
|
class A:
|
|
attr = 'submodule'
|