Update gh workflow and remove logging

This commit is contained in:
Vinayak Mehta
2021-07-04 19:21:50 +05:30
parent ff7260a228
commit 0c20cb0be8
4 changed files with 34 additions and 15 deletions
+4 -4
View File
@@ -36,7 +36,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():
filename = os.path.join(testdir, "foo.pdf")
tables = camelot.read_pdf(filename, backend=ImageConversionBackend('ghostscript'))
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
return camelot.plot(tables[0], kind="contour")
@@ -57,7 +57,7 @@ def test_line_plot_poppler():
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
def test_line_plot_ghostscript():
filename = os.path.join(testdir, "foo.pdf")
tables = camelot.read_pdf(filename, backend=ImageConversionBackend('ghostscript'))
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
return camelot.plot(tables[0], kind="line")
@@ -71,7 +71,7 @@ def test_joint_plot_poppler():
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
def test_joint_plot_ghostscript():
filename = os.path.join(testdir, "foo.pdf")
tables = camelot.read_pdf(filename, backend=ImageConversionBackend('ghostscript'))
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
return camelot.plot(tables[0], kind="joint")
@@ -85,5 +85,5 @@ def test_grid_plot_poppler():
@pytest.mark.mpl_image_compare(baseline_dir="files/baseline_plots", remove_text=True)
def test_grid_plot_ghostscript():
filename = os.path.join(testdir, "foo.pdf")
tables = camelot.read_pdf(filename, backend=ImageConversionBackend('ghostscript'))
tables = camelot.read_pdf(filename, backend=ImageConversionBackend("ghostscript"))
return camelot.plot(tables[0], kind="grid")