Skip ghostscript tests on windows

pull/198/head
Vinayak Mehta 2021-07-04 19:51:01 +05:30
parent 4c78dadd55
commit 4628be9251
No known key found for this signature in database
GPG Key ID: 2DE013537A15A9A4
1 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ def test_lattice_contour_plot_poppler():
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
def test_lattice_contour_plot_ghostscript():
if sys.platform not in ["linux", "darwin"]:
return True
pytest.skip("Skipping ghostscript test on Windows")
filename = os.path.join(testdir, "foo.pdf")
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
@ -61,7 +61,7 @@ def test_line_plot_poppler():
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
def test_line_plot_ghostscript():
if sys.platform not in ["linux", "darwin"]:
return True
pytest.skip("Skipping ghostscript test on Windows")
filename = os.path.join(testdir, "foo.pdf")
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
@ -78,7 +78,7 @@ def test_joint_plot_poppler():
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
def test_joint_plot_ghostscript():
if sys.platform not in ["linux", "darwin"]:
return True
pytest.skip("Skipping ghostscript test on Windows")
filename = os.path.join(testdir, "foo.pdf")
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
@ -95,7 +95,7 @@ def test_grid_plot_poppler():
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
def test_grid_plot_ghostscript():
if sys.platform not in ["linux", "darwin"]:
return True
pytest.skip("Skipping ghostscript test on Windows")
filename = os.path.join(testdir, "foo.pdf")
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))