unittest.py

changeset 120
11af938d6076
parent 117
178d6e54694f
child 122
116a81996832
--- a/unittest.py	Fri Sep 18 20:26:00 2020 +0300
+++ b/unittest.py	Fri Sep 18 20:26:05 2020 +0300
@@ -11,7 +11,7 @@
     import os
     unit_test_dir = Path(script_directory) / 'unittests'
     for dirpath, dirnames, filenames in os.walk(unit_test_dir):
-        yield from (
+        yield from sorted(
             Path(dirpath) / filename
             for filename in filenames
             if filename.endswith('.test')

mercurial