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 c7e58e3 commit d95a817Copy full SHA for d95a817
1 file changed
lib/matplotlib/testing/decorators.py
@@ -88,8 +88,7 @@ def compare_images_generator():
88
orig_expected_fnames = [os.path.join(baseline_dir,fname) + '.' + extension for fname in baseline_images]
89
expected_fnames = [os.path.join(result_dir,'expected-'+fname) + '.' + extension for fname in baseline_images]
90
for src,dst in zip( orig_expected_fnames, expected_fnames ):
91
- if os.path.exists(src) and not os.path.exists(dst):
92
- shutil.copyfile(src,dst)
+ shutil.copyfile(src,dst)
93
actual_fnames = [os.path.join(result_dir, fname) + '.' + extension for fname in baseline_images]
94
have_baseline_images = [os.path.exists(expected) for expected in expected_fnames]
95
have_baseline_image = np.all(have_baseline_images)
0 commit comments