def test_menu_textpad_mod_rectangle_exception(self):
"""Test that curses.error is not raised when drawing outside the bounds of the window."""
def test_function(stdscr):
stdscr.clear()
stdscr = curses.initscr()
ec2rlcore.menu_textpad_mod.rectangle(stdscr, curses.LINES + 1, curses.COLS + 1, 0, 0)
curses.wrapper(test_function)
test_menu_textpad_mod.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录