mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Finish properly hiding importlib implementation code.
This commit is contained in:
		
							parent
							
								
									e9103d2619
								
							
						
					
					
						commit
						f87e04d339
					
				
					 12 changed files with 43 additions and 55 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| import importlib | ||||
| from importlib import _bootstrap | ||||
| from . import util | ||||
| 
 | ||||
| import collections | ||||
|  | @ -14,7 +14,7 @@ class PathHookTests(unittest.TestCase): | |||
|     # XXX Should it only work for directories containing an extension module? | ||||
| 
 | ||||
|     def hook(self, entry): | ||||
|         return importlib.ExtensionFileFinder(entry) | ||||
|         return _bootstrap._ExtensionFileFinder(entry) | ||||
| 
 | ||||
|     def test_success(self): | ||||
|         # Path hook should handle a directory where a known extension module | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brett Cannon
						Brett Cannon