]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Sort the list of files processed before running the test on each.
authorFred Drake <fdrake@acm.org>
Wed, 23 Aug 2000 20:21:31 +0000 (20:21 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 23 Aug 2000 20:21:31 +0000 (20:21 +0000)
Demo/parser/test_parser.py

index 3f02a9643d870af9e14be7b84a2c79c2a1037b90..be39bca7f0353f38e632f574665d7b97b5768fcb 100755 (executable)
@@ -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