summaryrefslogtreecommitdiffstats
path: root/Demo/parser/test_parser.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-23 20:21:31 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-23 20:21:31 (GMT)
commit6baec620b400e94e2014c735bff17dd21c1c3f19 (patch)
treec34741f38cb457500f214640362318d27170082e /Demo/parser/test_parser.py
parent9dcea3f8a80814a971c1c779200e3cfbecbec440 (diff)
downloadcpython-6baec620b400e94e2014c735bff17dd21c1c3f19.zip
cpython-6baec620b400e94e2014c735bff17dd21c1c3f19.tar.gz
cpython-6baec620b400e94e2014c735bff17dd21c1c3f19.tar.bz2
Sort the list of files processed before running the test on each.
Diffstat (limited to 'Demo/parser/test_parser.py')
-rwxr-xr-xDemo/parser/test_parser.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Demo/parser/test_parser.py b/Demo/parser/test_parser.py
index 3f02a96..be39bca 100755
--- a/Demo/parser/test_parser.py
+++ b/Demo/parser/test_parser.py
@@ -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