School/.venv/lib/python3.9/site-packages/matplotlib/tests/__init__.py
Kristofers Solo dba6dee19e Updated .venv
2021-11-22 17:35:39 +02:00

11 lines
366 B
Python

from pathlib import Path
# Check that the test directories exist.
if not (Path(__file__).parent / 'baseline_images').exists():
raise IOError(
'The baseline image directory does not exist. '
'This is most likely because the test data is not installed. '
'You may need to install matplotlib from source to get the '
'test data.')