Skip to content

Commit 6a164e6

Browse files
committed
Use non-interactive backend for testing
1 parent 08859a8 commit 6a164e6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
from pathlib import Path
33

44
import eeweather.cache as ec
5+
import matplotlib as mpl
56
import pytest
67

8+
mpl.use("Agg") # Use non-interactive backend for testing
9+
710
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
811
from utils.post_process import generate_cvrmse_comparison_plot
912

0 commit comments

Comments
 (0)