[WIP] Either refactoring
Fix test assertion
This commit is contained in:
parent
3235a857f6
commit
274a5f56d4
@ -98,4 +98,4 @@ def test_bad_xref_handling(bad_xref_pdf, dvc_test_data):
|
|||||||
with pytest.raises(BadXref):
|
with pytest.raises(BadXref):
|
||||||
extract_image(doc, xref)
|
extract_image(doc, xref)
|
||||||
|
|
||||||
assert xref_to_maybe_image(doc, xref).is_nothing()
|
assert xref_to_maybe_image(doc, xref).is_left()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user