1
0
Fork 0
forked from josch/img2pdf

fix testsuite after exception renaming

This commit is contained in:
Johannes 'josch' Schauer 2016-02-17 00:26:45 +01:00
parent c6d69b231b
commit 27015c1a6e

View file

@ -415,7 +415,7 @@ def test_suite():
img2pdf.default_dpi)) img2pdf.default_dpi))
self.assertEqual((pwpdf, phpdf), pspdf) self.assertEqual((pwpdf, phpdf), pspdf)
self.assertEqual((iwpdf, ihpdf), ispdf) self.assertEqual((iwpdf, ihpdf), ispdf)
except img2pdf.NegativeDimensionException: except img2pdf.NegativeDimensionError:
self.assertEqual(None, pspdf) self.assertEqual(None, pspdf)
self.assertEqual(None, ispdf) self.assertEqual(None, ispdf)