diff --git a/pdfminer/psparser.py b/pdfminer/psparser.py index 676793f..489f561 100644 --- a/pdfminer/psparser.py +++ b/pdfminer/psparser.py @@ -563,24 +563,24 @@ import unittest class TestPSBaseParser(unittest.TestCase): TESTDATA = r'''%!PS - begin end - " @ # - /a/BCD /Some_Name /foo#5f#xbaa - 0 +1 -2 .5 1.234 - (abc) () (abc ( def ) ghi) - (def\040\0\0404ghi) (bach\\slask) (foo\nbaa) - (this % is not a comment.) - (foo - baa) - (foo\ - baa) - <20> < 40 4020 > - - func/a/b{(c)do*}def - [ 1 (z) ! ] - << /foo (bar) >> - ''' +begin end + " @ # +/a/BCD /Some_Name /foo#5f#xbaa +0 +1 -2 .5 1.234 +(abc) () (abc ( def ) ghi) +(def\040\0\0404ghi) (bach\\slask) (foo\nbaa) +(this % is not a comment.) +(foo +baa) +(foo\ +baa) +<20> < 40 4020 > + +func/a/b{(c)do*}def +[ 1 (z) ! ] +<< /foo (bar) >> +''' TOKENS = [ (5, KWD('begin')), (11, KWD('end')), (16, KWD('"')), (19, KWD('@')),