Skip to content

Commit

Permalink
Do not skip tests when testfixtures is missing (SmileyChris#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmihelac committed Jul 29, 2024
1 parent d9d21ca commit 561ae02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions TESTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
your virtualenv setup, you can alternatively just ``pip install pytest-django testfixtures``
and run ``pytest``.
5 changes: 1 addition & 4 deletions easy_thumbnails/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 561ae02

Please sign in to comment.