diff --git a/tests/test_errors.py b/tests/test_errors.py index e6878b7..b94d800 100755 --- a/tests/test_errors.py +++ b/tests/test_errors.py @@ -2,6 +2,7 @@ import os import warnings +from camelot.utils import is_url import pytest @@ -120,6 +121,4 @@ def test_bad_password(): def test_invalid_url(): url = 'fttp://google.com/pdf' - message = "File format not supported" - with pytest.raises(Exception, match=message): - url = camelot.read_pdf(url) \ No newline at end of file + assert is_url(url) == False \ No newline at end of file