def test_getTerminalSize(self):
        leader, follower = makeTerminal(self)
        ws_row, ws_col, ws_xpixel, ws_ypixel = 123, 456, 789, 912
        setTerminalSize(leader, ws_row, ws_col, ws_xpixel, ws_ypixel)
        self.assertEqual(getTerminalSize(follower), (ws_row, ws_col))
L{getWindowSize} gets the size of a terminal file descriptor.
dataset/ETHPy150Open twisted/imaginary/imaginary/test/test_runner.py/WindowSizing.test_getTerminalSize