MCPcopy Create free account
hub / github.com/python/cpython / test_beep

Method test_beep

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

Source from the content-addressed store, hash-verified

821 curses.reset_prog_mode()
822
823 def test_beep(self):
824 if (curses.tigetstr("bel") is not None
825 or curses.tigetstr("flash") is not None):
826 curses.beep()
827 else:
828 try:
829 curses.beep()
830 except curses.error:
831 self.skipTest('beep() failed')
832
833 def test_flash(self):
834 if (curses.tigetstr("bel") is not None

Callers

nothing calls this directly

Calls 2

skipTestMethod · 0.80
beepMethod · 0.45

Tested by

no test coverage detected