Skip to content

Commit 90dfd34

Browse files
committed
Test is a PIL only test
1 parent d5d8f0c commit 90dfd34

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

qrcode/tests/regression/test_pil_clear.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22

33
from typing import TYPE_CHECKING
44

5+
import pytest
6+
57
import qrcode
68

79
if TYPE_CHECKING:
810
from pathlib import Path
911

1012

13+
@pytest.mark.parametrize("back_color", ["TransParent", "red", (255, 195, 235)])
1114
def test_qrcode_clear_resets_size(tmp_path: Path):
1215
"""
1316
Test that QRCode.clear() properly resets the QRCode object.

0 commit comments

Comments
 (0)