fix python 2 test failure on Line.subsection