(self)
| 1212 | |
| 1213 | @requires_curses_window_meth('resize') |
| 1214 | def test_issue13051(self): |
| 1215 | win = curses.newwin(5, 15, 2, 5) |
| 1216 | box = curses.textpad.Textbox(win, insert_mode=True) |
| 1217 | lines, cols = win.getmaxyx() |
| 1218 | win.resize(lines-2, cols-2) |
| 1219 | # this may cause infinite recursion, leading to a RuntimeError |
| 1220 | box._insert_printable_char('a') |
| 1221 | |
| 1222 | |
| 1223 | class MiscTests(unittest.TestCase): |
nothing calls this directly
no test coverage detected