Skip to content

Commit

Permalink
added conftest to maek sure tests run using matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
mail4umar committed Jan 22, 2025
1 parent 7602452 commit c4eb8d7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions verticapy/tests/vModel/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Pytest
import pytest

# VerticaPy
import verticapy._config.config as conf

# Other Modules


@pytest.fixture(scope="module", autouse=True)
def load_matplotlib():
"""
Set default plotting library to matplotlib
"""
conf.set_option("plotting_lib", "matplotlib")
yield
conf.set_option("plotting_lib", "plotly")

0 comments on commit c4eb8d7

Please sign in to comment.