'max lines below hard limit of 8'

def test_clip1(self, table_type):

    self._setup(table_type)
    lines = self.ts.pformat(max_lines=3, max_width=(-1))
    assert (lines == ['col0    col1    col2', '----    ----    ----', '            0                1                2', '            3                4                5', '            6                7                8', '            9            10            11', '        12            13            14', '        15            16            17'])
