diff options
author | James R. Barlow <jim@purplerock.ca> | 2019-02-10 23:39:47 -0800 |
---|---|---|
committer | James R. Barlow <jim@purplerock.ca> | 2019-02-10 23:39:47 -0800 |
commit | 0dd8a849e5e0c5b4f198aa1ea17031db07b82bbe (patch) | |
tree | a233e86738ebefc5f9ed721f72dcb6c747e253c1 /tests | |
parent | 9fdd79a02db93209d654be2ea96c57a86171e414 (diff) |
Improve code introspection for inferred classes
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] |