mirror of
https://github.com/python/cpython.git
synced 2025-09-02 06:57:58 +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.
7 lines
127 B
Python
7 lines
127 B
Python
attr = 'submodule'
|
|
class A:
|
|
attr = 'submodule'
|
|
class submodule:
|
|
attr = 'rebound'
|
|
class B:
|
|
attr = 'rebound'
|