Change suppress_warnings to verbose

This commit is contained in:
Vinayak Mehta
2018-12-12 09:58:34 +05:30
parent 50780e24f8
commit e50f9c8847
8 changed files with 23 additions and 18 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ def test_no_tables_found_warnings_suppressed():
# the test should fail if any warning is thrown
warnings.simplefilter('error')
try:
tables = camelot.read_pdf(filename, suppress_warnings=True)
tables = camelot.read_pdf(filename, verbose=False)
except Warning as e:
warning_text = str(e)
pytest.fail('Unexpected warning: {}'.format(warning_text))