Thanks to visit codestin.com Credit goes to github.com
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 a5729a5 commit b386a56Copy full SHA for b386a56
1 file changed
test/_buildbot_test_postmortem.py
@@ -81,9 +81,13 @@ def path_split_all(fname):
81
# new matplotlib.testing infrastructure
82
83
os.chdir('test')
84
- for fname in glob.glob('*.png'):
85
- absdiff_fname = diff_basename + fname
86
- expected_fname = expected_basename + fname
+ for fname in get_recursive_filelist(['result_images']):
+ # only images
+ if not fname.endswith('.png'): continue
87
+
88
+ result_dir, result_fname = os.path.split(fname)
89
+ absdiff_fname = os.path.join( result_dir, diff_basename + result_fname)
90
+ expected_fname = os.path.join( result_dir, expected_basename + result_fname)
91
if not os.path.exists(absdiff_fname):
92
continue
93
if not os.path.exists(expected_fname):
0 commit comments