8000 Change documentation · matplotlib/matplotlib@62f949a · GitHub
[go: up one dir, main page]

Skip to content

Commit 62f949a

Browse files
Change documentation
1 parent ecd178b commit 62f949a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/matplotlib/tests/test_compare_images.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,8 @@ def test_image_comparison_expect_rms(im1, im2, tol, expect_rms, tmp_path,
5757
"""
5858
monkeypatch.chdir(tmp_path)
5959
baseline_dir, result_dir = map(Path, _image_directories(lambda: "dummy"))
60-
# Copy both "baseline" and "test" image to result_dir, so that 1)
61-
# compare_images writes the diff to result_dir, rather than to the source
62-
# tree and 2) the baseline image doesn't appear missing to triage_tests.py.
63-
# result_im1 = make_test_filename(result_dir / im1, "expected")
64-
# shutil.copyfile(baseline_dir / im1, result_im1)
60+
# Copy "test" image to result_dir, so that compare_images writes
61+
# the diff to result_dir, rather than to the source tree
6562
result_im2 = result_dir / im1
6663
shutil.copyfile(baseline_dir / im2, result_im2)
6764
results = compare_images(

0 commit comments

Comments
 (0)
0