summaryrefslogtreecommitdiff
path: root/pygments/formatters/img.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2008-05-06 18:33:08 +0200
committergbrandl <devnull@localhost>2008-05-06 18:33:08 +0200
commite1627ab35dac49ccab3bb22f3f9a6fe65de8673c (patch)
tree2a6701c477c8ec706fec50cdc3f92d745aa035d0 /pygments/formatters/img.py
parentaddfe89328e28a0cd6305d236a8988726022ac46 (diff)
downloadpygments-0.10.tar.gz
Ignore import errors in the tests.0.10
Diffstat (limited to 'pygments/formatters/img.py')
-rw-r--r--pygments/formatters/img.py2
1 files changed, 1 insertions, 1 deletions
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"""