tests/run-tests.py
branchstable
changeset 1219 cefcbbc5502c
parent 1218 d29df508e187
child 1221 3a049b21a05b
--- a/tests/run-tests.py	Tue Mar 12 10:37:48 2013 -0700
+++ b/tests/run-tests.py	Thu Mar 21 08:56:21 2013 +0100
@@ -1244,8 +1244,7 @@
         checktools()
 
         if len(args) == 0:
-            args = os.listdir(".")
-        args.sort()
+            args = sorted(os.listdir("."))
 
     tests = args