mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 10:26:02 +00:00 
			
		
		
		
	 c0eaa232f6
			
		
	
	
		c0eaa232f6
		
			
		
	
	
	
	
		
			
			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'
 |