Lines Matching defs:check
935 # range may be restricted, so we need to check if the limit is still
1225 def check(func, expected):
1233 check(curses.ascii.isalnum, b.isalnum())
1234 check(curses.ascii.isalpha, b.isalpha())
1235 check(curses.ascii.isdigit, b.isdigit())
1236 check(curses.ascii.islower, b.islower())
1237 check(curses.ascii.isspace, b.isspace())
1238 check(curses.ascii.isupper, b.isupper())
1240 check(curses.ascii.isascii, i < 128)
1241 check(curses.ascii.ismeta, i >= 128)
1242 check(curses.ascii.isctrl, i < 32)
1243 check(curses.ascii.iscntrl, i < 32 or i == 127)
1244 check(curses.ascii.isblank, c in ' \t')
1245 check(curses.ascii.isgraph, 32 < i <= 126)
1246 check(curses.ascii.isprint, 32 <= i <= 126)
1247 check(curses.ascii.ispunct, c in string.punctuation)
1248 check(curses.ascii.isxdigit, c in string.hexdigits)