From e1627ab35dac49ccab3bb22f3f9a6fe65de8673c Mon Sep 17 00:00:00 2001 From: gbrandl Date: Tue, 6 May 2008 18:33:08 +0200 Subject: Ignore import errors in the tests. --- pygments/formatters/img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygments') diff --git a/pygments/formatters/img.py b/pygments/formatters/img.py index 96665122..0b5831b2 100644 --- a/pygments/formatters/img.py +++ b/pygments/formatters/img.py @@ -43,7 +43,7 @@ DEFAULT_FONT_NAME_NIX = 'Bitstream Vera Sans Mono' DEFAULT_FONT_NAME_WIN = 'Courier New' -class PilNotAvailable(Exception): +class PilNotAvailable(ImportError): """When Python imaging library is not available""" -- cgit v1.2.1