Skip to content

Commit

Permalink
Fix test dependency skip
Browse files Browse the repository at this point in the history
  • Loading branch information
maribedran committed Sep 27, 2024
1 parent d991b67 commit 39cf502
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion TESTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ Here's the OSX Homebrew command:

brew install libjpeg libtiff little-cms2 openjpeg webp

Finally, just run ``tox``!
Finally, just run ``tox``::

poetry run tox
# or
poetry shell
tox

If you want, you can test against a specific version like this: ``tox -e py312-pil``


Expand Down
2 changes: 1 addition & 1 deletion qrcode/tests/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_stdin_py3_unicodedecodeerror():


def test_optimize():
pytest.importorskip("PyPNG", reason="Requires PyPNG")
pytest.importorskip("PIL", reason="Requires PIL")
main("testtext --optimize 0".split())


Expand Down

0 comments on commit 39cf502

Please sign in to comment.