summaryrefslogtreecommitdiff
path: root/scss/tests/util.py
blob: 8b36d7de9cc19ea0b7db78b4fc962e4e4c8dee63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Test utilities."""
from __future__ import absolute_import

import pytest

try:
    import PIL
except ImportError:
    try:
        import Image as PIL
    except ImportError:
        PIL = None


needs_PIL = pytest.mark.skipif(PIL is None, reason='image tests require PIL')