mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-28 21:13:41 +03:00
commit
3a41d6dc69
|
@ -205,7 +205,7 @@ class TestFileLibTiff(LibTiffTestCase):
|
|||
# 4: "long",
|
||||
# 5: "rational",
|
||||
# 12: "double",
|
||||
# type: dummy value
|
||||
# Type: dummy value
|
||||
values = {2: 'test',
|
||||
3: 1,
|
||||
4: 2**20,
|
||||
|
|
|
@ -393,8 +393,6 @@ class PdfParser:
|
|||
|
||||
def __init__(self, filename=None, f=None,
|
||||
buf=None, start_offset=0, mode="rb"):
|
||||
# type: (PdfParser, str, file, Union[bytes, bytearray], int, str)
|
||||
# -> None
|
||||
if buf and f:
|
||||
raise RuntimeError(
|
||||
"specify buf or f or filename, but not both buf and f")
|
||||
|
|
Loading…
Reference in New Issue
Block a user