Fix unit test

pull/153/head
Frh 2020-04-19 16:38:25 -07:00
parent f9a6543c36
commit e8e80a8cbb
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ filename = os.path.join(testdir, 'foo.pdf')
def test_unknown_flavor(): def test_unknown_flavor():
message = ("Unknown flavor specified." message = ("Unknown flavor specified."
" Use either 'lattice' or 'stream'") " Use either 'lattice', 'stream', or 'hybrid'")
with pytest.raises(NotImplementedError, match=message): with pytest.raises(NotImplementedError, match=message):
tables = camelot.read_pdf(filename, flavor='chocolate') tables = camelot.read_pdf(filename, flavor='chocolate')