mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	bpo-29836: Remove nturl2path from test_sundry and amend the module docstring (GH-694)
The module is implicitly tested through test_urllib.
This commit is contained in:
		
							parent
							
								
									1b038e0738
								
							
						
					
					
						commit
						cb5297a9e6
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		|  | @ -1,4 +1,9 @@ | |||
| """Convert a NT pathname to a file URL and vice versa.""" | ||||
| """Convert a NT pathname to a file URL and vice versa. | ||||
| 
 | ||||
| This module only exists to provide OS-specific code | ||||
| for urllib.requests, thus do not use directly. | ||||
| """ | ||||
| # Testing is done through test_urllib. | ||||
| 
 | ||||
| def url2pathname(url): | ||||
|     """OS-specific conversion from a relative URL of the 'file' scheme | ||||
|  |  | |||
|  | @ -6,8 +6,7 @@ | |||
| 
 | ||||
| class TestUntestedModules(unittest.TestCase): | ||||
|     def test_untested_modules_can_be_imported(self): | ||||
|         untested = ('bdb', 'encodings', 'formatter', | ||||
|                     'nturl2path', 'tabnanny') | ||||
|         untested = ('bdb', 'encodings', 'formatter', 'tabnanny') | ||||
|         with support.check_warnings(quiet=True): | ||||
|             for name in untested: | ||||
|                 try: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jim Fasarakis-Hilliard
						Jim Fasarakis-Hilliard