def testtable():
 testtable = table([['A1', 'A2'], ['B1', 'B2'], ['C1', 'C2']])
 assert (testtable.xpath('/ns0:tbl/ns0:tr[2]/ns0:tc[2]/ns0:p/ns0:r/ns0:t', namespaces={'ns0': 'http://schemas.openxmlformats.org/wordprocessingml/2006/main'})[0].text == 'B2')

def testtable ( ) : testtable = table ( [ [ 'A1' , 'A2' ] , [ 'B1' , 'B2' ] , [ 'C1' , 'C2' ] ] ) assert ( testtable . xpath ( '/ns0:tbl/ns0:tr[2]/ns0:tc[2]/ns0:p/ns0:r/ns0:t' , namespaces = { 'ns0' : 'http://schemas.openxmlformats.org/wordprocessingml/2006/main' } ) [ 0 ] . text == 'B2' )
ensure tables make sense .