Lines Matching defs:check
266 self.fail("FileInput should check openhook for being callable")
386 # sanity check to make sure that our test scenario was actually hit
404 # sanity check to make sure that our test scenario was actually hit
422 # sanity check to make sure that our test scenario was actually hit
443 # sanity check to make sure that our test scenario was actually hit
972 def check(errors, expected_lines):
978 check('ignore', ['abc'])
980 check('strict', ['abc'])
981 check('replace', ['\ufffdabc'])
982 check('backslashreplace', ['\\x80abc'])
990 def check(mode, expected_lines):
996 check('r', ['A\n', 'B\n', 'C\n', 'D\u20ac'])
998 check('rb', ['A\n', 'B\r\n', 'C\r', 'D\u20ac'])