Skip ghostscript tests on windows
parent
4c78dadd55
commit
4628be9251
|
|
@ -37,7 +37,7 @@ def test_lattice_contour_plot_poppler():
|
||||||
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
|
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
|
||||||
def test_lattice_contour_plot_ghostscript():
|
def test_lattice_contour_plot_ghostscript():
|
||||||
if sys.platform not in ["linux", "darwin"]:
|
if sys.platform not in ["linux", "darwin"]:
|
||||||
return True
|
pytest.skip("Skipping ghostscript test on Windows")
|
||||||
|
|
||||||
filename = os.path.join(testdir, "foo.pdf")
|
filename = os.path.join(testdir, "foo.pdf")
|
||||||
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
|
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)
|
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
|
||||||
def test_line_plot_ghostscript():
|
def test_line_plot_ghostscript():
|
||||||
if sys.platform not in ["linux", "darwin"]:
|
if sys.platform not in ["linux", "darwin"]:
|
||||||
return True
|
pytest.skip("Skipping ghostscript test on Windows")
|
||||||
|
|
||||||
filename = os.path.join(testdir, "foo.pdf")
|
filename = os.path.join(testdir, "foo.pdf")
|
||||||
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
|
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)
|
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
|
||||||
def test_joint_plot_ghostscript():
|
def test_joint_plot_ghostscript():
|
||||||
if sys.platform not in ["linux", "darwin"]:
|
if sys.platform not in ["linux", "darwin"]:
|
||||||
return True
|
pytest.skip("Skipping ghostscript test on Windows")
|
||||||
|
|
||||||
filename = os.path.join(testdir, "foo.pdf")
|
filename = os.path.join(testdir, "foo.pdf")
|
||||||
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
|
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)
|
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
|
||||||
def test_grid_plot_ghostscript():
|
def test_grid_plot_ghostscript():
|
||||||
if sys.platform not in ["linux", "darwin"]:
|
if sys.platform not in ["linux", "darwin"]:
|
||||||
return True
|
pytest.skip("Skipping ghostscript test on Windows")
|
||||||
|
|
||||||
filename = os.path.join(testdir, "foo.pdf")
|
filename = os.path.join(testdir, "foo.pdf")
|
||||||
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
|
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue