'Try getting screen size but fail to defaults because testing doesn\'t
have access to screen (fcntl.ioctl fails).'

def test_format0(self, table_type):

    self._setup(table_type)
    arr = np.arange(4000, dtype=np.float64).reshape(100, 40)
    lines = table_type(arr).pformat()
    (nlines, width) = console.terminal_size()
    assert (len(lines) == nlines)
    for line in lines[:(-1)]:
        assert ((len(line) > (width - 10)) and (len(line) <= width))
