mirror of
				https://github.com/python/cpython.git
				synced 2025-11-01 06:01:29 +00:00 
			
		
		
		
	#2621 rename test.test_support to test.support
This commit is contained in:
		
							parent
							
								
									6a654814ea
								
							
						
					
					
						commit
						ee8712cda4
					
				
					 358 changed files with 1308 additions and 1307 deletions
				
			
		|  | @ -6,7 +6,7 @@ | |||
| 
 | ||||
| import sys, codecs | ||||
| import unittest, re | ||||
| from test import test_support | ||||
| from test import support | ||||
| from io import BytesIO | ||||
| 
 | ||||
| class TestBase: | ||||
|  | @ -279,10 +279,10 @@ def __init__(self, *args, **kw): | |||
|         try: | ||||
|             self.open_mapping_file() # test it to report the error early | ||||
|         except IOError: | ||||
|             raise test_support.TestSkipped("Could not retrieve "+self.mapfileurl) | ||||
|             raise support.TestSkipped("Could not retrieve "+self.mapfileurl) | ||||
| 
 | ||||
|     def open_mapping_file(self): | ||||
|         return test_support.open_urlresource(self.mapfileurl) | ||||
|         return support.open_urlresource(self.mapfileurl) | ||||
| 
 | ||||
|     def test_mapping_file(self): | ||||
|         if self.mapfileurl.endswith('.xml'): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson