Home | History | Annotate | Download | only in test

Lines Matching refs:detect_encoding

3                      STRING, ENDMARKER, ENCODING, tok_name, detect_encoding,
1080 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1090 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1101 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1111 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1122 self.assertRaises(SyntaxError, detect_encoding, readline)
1131 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1143 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1156 self.assertRaises(SyntaxError, detect_encoding, readline)
1164 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1175 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1186 encoding, consumed_lines = detect_encoding(self.get_readline(lines))
1203 found, consumed_lines = detect_encoding(rl)
1213 self.assertRaises(SyntaxError, detect_encoding, readline)
1226 found, consumed_lines = detect_encoding(rl)
1231 encoding, consumed_lines = detect_encoding(readline)
1235 encoding, consumed_lines = detect_encoding(self.get_readline(()))
1240 encoding, consumed_lines = detect_encoding(readline)
1245 encoding, consumed_lines = detect_encoding(readline)
1250 self.assertRaises(SyntaxError, detect_encoding, readline)
1255 encoding, consumed_lines = detect_encoding(readline)
1302 detect_encoding(ins.readline)
1305 detect_encoding(ins.readline)
1343 orig_detect_encoding = tokenize_module.detect_encoding
1345 tokenize_module.detect_encoding = mock_detect_encoding
1352 tokenize_module.detect_encoding = orig_detect_encoding