MCPcopy Index your code
hub / github.com/python/cpython / test_refresh

Method test_refresh

Lib/test/test_curses.py:569–575  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

567 self.assertEqual(dstwin.instr(5, 0), b'_________________')
568
569 def test_refresh(self):
570 win = curses.newwin(5, 15, 2, 5)
571 win.noutrefresh()
572 win.redrawln(1, 2)
573 win.redrawwin()
574 win.refresh()
575 curses.doupdate()
576
577 @requires_curses_window_meth('resize')
578 def test_resize(self):

Callers

nothing calls this directly

Calls 1

refreshMethod · 0.45

Tested by

no test coverage detected