diff --git a/TESTING.rst b/TESTING.rst index cd7fe99..6ff7b7b 100644 --- a/TESTING.rst +++ b/TESTING.rst @@ -14,5 +14,5 @@ pytest ------ Assuming you're just wanting to test the current development version against -your virtualenv setup, you can alternatively just ``pip install pytest-django`` -and run ``pytest``. \ No newline at end of file +your virtualenv setup, you can alternatively just ``pip install pytest-django testfixtures`` +and run ``pytest``. diff --git a/easy_thumbnails/tests/test_files.py b/easy_thumbnails/tests/test_files.py index 9b8f038..ee9c901 100644 --- a/easy_thumbnails/tests/test_files.py +++ b/easy_thumbnails/tests/test_files.py @@ -7,10 +7,7 @@ from easy_thumbnails.options import ThumbnailOptions from easy_thumbnails.tests import utils as test from PIL import Image -try: - from testfixtures import LogCapture -except ImportError: - LogCapture = None +from testfixtures import LogCapture import unittest