From 8ed4cdf39938872829e9d060bde7fee7e1dfbc8c Mon Sep 17 00:00:00 2001 From: Frh Date: Sun, 19 Apr 2020 15:07:59 -0700 Subject: [PATCH] Fix unit test with plotting --- tests/test_plotting.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_plotting.py b/tests/test_plotting.py index 565c68c..277eefc 100644 --- a/tests/test_plotting.py +++ b/tests/test_plotting.py @@ -36,6 +36,8 @@ def test_text_plot(): return camelot.plot(tables[0], kind='text') +@pytest.mark.skipif(LEGACY_MATPLOTLIB, + reason="depends on a recent version of MatPlotLib") @pytest.mark.mpl_image_compare( baseline_dir="files/baseline_plots", remove_text=True) def test_grid_plot(): @@ -71,6 +73,8 @@ def test_stream_contour_plot(): return camelot.plot(tables[0], kind='contour') +@pytest.mark.skipif(LEGACY_MATPLOTLIB, + reason="depends on a recent version of MatPlotLib") @pytest.mark.mpl_image_compare( baseline_dir="files/baseline_plots", remove_text=True) def test_line_plot():