(self)
| 15 | self.assertEqual(mapping[1000], ord('x')) |
| 16 | |
| 17 | def test_trans(self): |
| 18 | # trans is the production instance of ParseMap, used in _study1 |
| 19 | parser = pyparse.Parser(4, 4) |
| 20 | self.assertEqual('\t a([{b}])b"c\'d\n'.translate(pyparse.trans), |
| 21 | 'xxx(((x)))x"x\'x\n') |
| 22 | |
| 23 | |
| 24 | class PyParseTest(unittest.TestCase): |
nothing calls this directly
no test coverage detected