removed oldpdfmajor and ran linters
This commit is contained in:
1 parent
b1edcbe51d
commit
754e248aac
93 files changed
+57
-18002
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import io
|
||||
from pathlib import Path
|
||||
|
||||
from typing import Callable, List
|
||||
from decimal import Decimal
|
||||
@@ -11,6 +12,8 @@ from pdfmajor.parser.objects.comment import PDFComment
|
||||
from pdfmajor.parser.objects.stream import PDFStream
|
||||
from pdfmajor.parser.PDFParser import PDFParser
|
||||
|
||||
CURRENT_FOLDER = Path(__file__).parent
|
||||
|
||||
|
||||
class Collections(TestCase):
|
||||
def test_parse_dict(self):
|
||||
@@ -208,3 +211,11 @@ endobj
|
||||
"dl": None,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
# class PDFStreamParsing(TestCase):
|
||||
# def test_simple(self):
|
||||
# with (CURRENT_FOLDER / "samples" / "pdf" / "chars.pdf").open("br") as fp:
|
||||
# parser = PDFParser(fp)
|
||||
# for obj in parser.iter_objects():
|
||||
# print(obj)
|
||||
Reference in new issue
Block a user