mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Rename test_pep####.py files
This commit is contained in:
		
							parent
							
								
									a0154c0f0e
								
							
						
					
					
						commit
						724f6a67f2
					
				
					 9 changed files with 6 additions and 5 deletions
				
			
		|  | @ -1529,12 +1529,13 @@ def test_random_files(self): | ||||||
|         tempdir = os.path.dirname(fn) or os.curdir |         tempdir = os.path.dirname(fn) or os.curdir | ||||||
|         testfiles = glob.glob(os.path.join(tempdir, "test*.py")) |         testfiles = glob.glob(os.path.join(tempdir, "test*.py")) | ||||||
| 
 | 
 | ||||||
|         # Tokenize is broken on test_pep3131.py because regular expressions are |         # Tokenize is broken on test_unicode_identifiers.py because regular | ||||||
|         # broken on the obscure unicode identifiers in it. *sigh* |         # expressions are broken on the obscure unicode identifiers in it. | ||||||
|         # With roundtrip extended to test the 5-tuple mode of  untokenize, |         # *sigh* With roundtrip extended to test the 5-tuple mode of | ||||||
|         # 7 more testfiles fail.  Remove them also until the failure is diagnosed. |         # untokenize, 7 more testfiles fail.  Remove them also until the | ||||||
|  |         # failure is diagnosed. | ||||||
| 
 | 
 | ||||||
|         testfiles.remove(os.path.join(tempdir, "test_pep3131.py")) |         testfiles.remove(os.path.join(tempdir, "test_unicode_identifiers.py")) | ||||||
|         for f in ('buffer', 'builtin', 'fileio', 'inspect', 'os', 'platform', 'sys'): |         for f in ('buffer', 'builtin', 'fileio', 'inspect', 'os', 'platform', 'sys'): | ||||||
|             testfiles.remove(os.path.join(tempdir, "test_%s.py") % f) |             testfiles.remove(os.path.join(tempdir, "test_%s.py") % f) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Zachary Ware
						Zachary Ware