Lines Matching refs:hasattr
37 return unittest.skipUnless(hasattr(curses, name),
150 if hasattr(stdscr, 'immedok'):
186 if hasattr(stdscr, 'syncok') and not sys.platform.startswith("sunos"):
193 if hasattr(stdscr, 'chgat'):
203 if hasattr(stdscr, 'resize'):
205 if hasattr(stdscr, 'enclose'):
226 if hasattr(curses, 'filter'):
228 if hasattr(curses, 'getsyx'):
253 if hasattr(curses, 'setsyx'):
259 if hasattr(curses, 'typeahead'):
263 if hasattr(curses, 'use_env'):
277 if hasattr(curses, 'use_default_colors'):
365 if not hasattr(stdscr, 'resize'):
378 self.assertTrue(hasattr(curses.ascii, name), name)