Fix test indent
parent
f725f04223
commit
afa1ba7c1f
|
|
@ -49,10 +49,10 @@ def test_image_warning():
|
||||||
warnings.simplefilter("error")
|
warnings.simplefilter("error")
|
||||||
with pytest.raises(UserWarning) as e:
|
with pytest.raises(UserWarning) as e:
|
||||||
tables = camelot.read_pdf(filename)
|
tables = camelot.read_pdf(filename)
|
||||||
assert (
|
assert (
|
||||||
str(e.value)
|
str(e.value)
|
||||||
== "page-1 is image-based, camelot only works on text-based pages."
|
== "page-1 is image-based, camelot only works on text-based pages."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def test_no_tables_found():
|
def test_no_tables_found():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue