8000 Modified links for changed location of baseline images · matplotlib/matplotlib@dd730ac · GitHub
[go: up one dir, main page]

Skip to content

Commit dd730ac

Browse files
Modified links for changed location of baseline images
1 parent c8e2baa commit dd730ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/testing/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def _image_directories(func):
482482
doesn't exist.
483483
"""
484484
module_path = Path(sys.modules[func.__module__].__file__)
485-
baseline_dir = module_path.parent / "baseline_images" / module_path.stem
485+
baseline_dir = module_path.parent.parent.parent.parent / "sub-wheels" / "matplotlib-baseline-images" / "mpl_baseline_images" / module_path.stem
486486
result_dir = Path().resolve() / "result_images" / module_path.stem
487487
result_dir.mkdir(parents=True, exist_ok=True)
488488
return baseline_dir, result_dir

tools/triage_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
# these two places.
3939

4040
BASELINE_IMAGES = [
41-
Path('sub-wheels/matplotlib-baseline-images/baseline_images'),
42-
Path('lib/mpl_toolkits/tests/baseline_images'),
41+
Path('sub-wheels/matplotlib-baseline-images/mpl_baseline_images'),
42+
Path('sub-wheels/matplotlib-baseline-images/mpl_toolkits_baseline_images'),
4343
]
4444

4545

0 commit comments

Comments
 (0)
0