Skip to content

Commit 39cf502

Browse files
committed
Fix test dependency skip
1 parent d991b67 commit 39cf502

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

TESTING.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ Here's the OSX Homebrew command:
1919

2020
brew install libjpeg libtiff little-cms2 openjpeg webp
2121

22-
Finally, just run ``tox``!
22+
Finally, just run ``tox``::
23+
24+
poetry run tox
25+
# or
26+
poetry shell
27+
tox
28+
2329
If you want, you can test against a specific version like this: ``tox -e py312-pil``
2430

2531

qrcode/tests/test_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_stdin_py3_unicodedecodeerror():
4848

4949

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

5454

0 commit comments

Comments
 (0)