We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cd4cc9 commit ccca1f3Copy full SHA for ccca1f3
visual_tests.py
@@ -7,8 +7,6 @@
7
#
8
9
import os
10
-import six
11
-
12
from collections import defaultdict
13
14
@@ -57,7 +55,7 @@ def run():
57
55
58
56
failed_rows = []
59
body_sections = []
60
- for subdir in _subdirs:
+ for subdir in sorted(_subdirs):
61
if subdir == "test_compare_images":
62
# These are the images which test the image comparison functions.
63
continue
@@ -78,7 +76,7 @@ def run():
78
76
pictures[fn]["c"] = "/".join((subdir, file))
79
77
80
subdir_rows = []
81
- for name, test in six.iteritems(pictures):
+ for name, test in sorted(pictures.items()):
82
expected_image = test.get('e', '')
83
actual_image = test.get('c', '')
84
0 commit comments