working xref db
This commit is contained in:
1 parent
cfc2dfca47
commit
e2a92517cd
12 files changed
+517
-227
No files matched your search
+1
-1
@@ -222,7 +222,7 @@ class Basics(TestCase):
|
||||
|
||||
class Lexer(TestCase):
|
||||
def run_test(self, raw: bytes, expected: List[Token]):
|
||||
tokenizer = PDFLexer(io.BytesIO(raw))
|
||||
tokenizer = PDFLexer.from_bytes(raw)
|
||||
for i, (etoken, token) in enumerate(zip(expected, tokenizer.iter_tokens()), 1):
|
||||
self.assertEqual(token, etoken, f"Failed at example #{i}")
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user