示例#1
0
 def test_sup(self):
     expected_sel = p.Selection(span=[(1730, 1799)],
                                gorn=[p.GornAddress([11, 2, 3])],
                                text='blop blop split shares')
     expected = p.Sup(expected_sel)
     txt = ex_sup1
     self.assertParse(p._sup('sup1'), expected, txt)
示例#2
0
文件: pdtbx.py 项目: tjane/educe
def _read_Sup(node):
    return ty.Sup(_read_Selection(node))