From 27015c1a6eee8f103d2f3bbe4d4fe81a292735df Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 17 Feb 2016 00:26:45 +0100 Subject: [PATCH] fix testsuite after exception renaming --- src/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/__init__.py b/src/tests/__init__.py index 70c6949..c4680c2 100644 --- a/src/tests/__init__.py +++ b/src/tests/__init__.py @@ -415,7 +415,7 @@ def test_suite(): img2pdf.default_dpi)) self.assertEqual((pwpdf, phpdf), pspdf) self.assertEqual((iwpdf, ihpdf), ispdf) - except img2pdf.NegativeDimensionException: + except img2pdf.NegativeDimensionError: self.assertEqual(None, pspdf) self.assertEqual(None, ispdf)