diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_image_access.py | 2 | ||||
-rw-r--r-- | tests/test_object.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_image_access.py b/tests/test_image_access.py index 8a41dbf..3543090 100644 --- a/tests/test_image_access.py +++ b/tests/test_image_access.py @@ -192,7 +192,7 @@ def test_image_roundtrip(outdir, w, h, pixeldata, cs, bpc): @pytest.mark.parametrize( - 'filename,bpc,filters,ext,mode,format', + 'filename,bpc,filters,ext,mode,format_', [ ('sandwich.pdf', 1, ['/CCITTFaxDecode'], '.tif', '1', 'TIFF'), ('congress-gray.pdf', 8, ['/DCTDecode'], '.jpg', 'L', 'JPEG'), diff --git a/tests/test_object.py b/tests/test_object.py index 9f1e728..f2725f2 100644 --- a/tests/test_object.py +++ b/tests/test_object.py @@ -124,7 +124,7 @@ def test_nested_list2(array): def test_list_apis(): a = pikepdf.Array([1, 2, 3]) - a[1] = None # pylint: disable=unsupported-assignment-operation + a[1] = None assert a[1] is None assert len(a) == 3 del a[1] |