mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Sort the list of files processed before running the test on each.
This commit is contained in:
		
							parent
							
								
									9dcea3f8a8
								
							
						
					
					
						commit
						6baec620b4
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -40,11 +40,9 @@ def test():
 | 
			
		|||
    if not args:
 | 
			
		||||
        import glob
 | 
			
		||||
        args = glob.glob("*.py")
 | 
			
		||||
        args.sort()
 | 
			
		||||
    map(testFile, args)
 | 
			
		||||
    sys.exit(_numFailed != 0)
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    test()
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
#  end of file
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue