mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +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:
|
if not args:
|
||||||
import glob
|
import glob
|
||||||
args = glob.glob("*.py")
|
args = glob.glob("*.py")
|
||||||
|
args.sort()
|
||||||
map(testFile, args)
|
map(testFile, args)
|
||||||
sys.exit(_numFailed != 0)
|
sys.exit(_numFailed != 0)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
test()
|
test()
|
||||||
|
|
||||||
#
|
|
||||||
# end of file
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue