unittest failure fix
git-svn-id: https://pdfminerr.googlecode.com/svn/trunk/pdfminer@222 1aa58f4a-7d42-0410-adbc-911cccaed67cpull/1/head
parent
cf52476f5e
commit
702f3088ae
|
@ -563,24 +563,24 @@ import unittest
|
||||||
class TestPSBaseParser(unittest.TestCase):
|
class TestPSBaseParser(unittest.TestCase):
|
||||||
|
|
||||||
TESTDATA = r'''%!PS
|
TESTDATA = r'''%!PS
|
||||||
begin end
|
begin end
|
||||||
" @ #
|
" @ #
|
||||||
/a/BCD /Some_Name /foo#5f#xbaa
|
/a/BCD /Some_Name /foo#5f#xbaa
|
||||||
0 +1 -2 .5 1.234
|
0 +1 -2 .5 1.234
|
||||||
(abc) () (abc ( def ) ghi)
|
(abc) () (abc ( def ) ghi)
|
||||||
(def\040\0\0404ghi) (bach\\slask) (foo\nbaa)
|
(def\040\0\0404ghi) (bach\\slask) (foo\nbaa)
|
||||||
(this % is not a comment.)
|
(this % is not a comment.)
|
||||||
(foo
|
(foo
|
||||||
baa)
|
baa)
|
||||||
(foo\
|
(foo\
|
||||||
baa)
|
baa)
|
||||||
<20> < 40 4020 >
|
<20> < 40 4020 >
|
||||||
<abcd00
|
<abcd00
|
||||||
12345>
|
12345>
|
||||||
func/a/b{(c)do*}def
|
func/a/b{(c)do*}def
|
||||||
[ 1 (z) ! ]
|
[ 1 (z) ! ]
|
||||||
<< /foo (bar) >>
|
<< /foo (bar) >>
|
||||||
'''
|
'''
|
||||||
|
|
||||||
TOKENS = [
|
TOKENS = [
|
||||||
(5, KWD('begin')), (11, KWD('end')), (16, KWD('"')), (19, KWD('@')),
|
(5, KWD('begin')), (11, KWD('end')), (16, KWD('"')), (19, KWD('@')),
|
||||||
|
|
Loading…
Reference in New Issue