From 0dd8a849e5e0c5b4f198aa1ea17031db07b82bbe Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 10 Feb 2019 23:39:47 -0800 Subject: Improve code introspection for inferred classes --- tests/test_image_access.py | 2 +- tests/test_object.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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] -- cgit v1.2.3