Lines Matching refs:repl
27 def __init__(self, repl="<?>"):
28 self.repl = repl
35 return (self.repl, self.pos)
36 return (self.repl, exc.end)
802 return (repl, exc.end)
806 for enc, input, repl in (
812 self.assertEqual(res, ("[" + repl + "]").encode(enc))
814 for enc, input, repl in (
830 return (repl, exc.end)
835 for enc, input, repl in (
854 return (repl, exc.end)
859 for enc, input, repl in (
871 self.assertEqual(res, "[".encode(enc) + repl + "]".encode(enc))
876 return (repl, exc.end)
883 for enc, repl in (
889 with self.subTest(encoding=enc, repl=repl):
1068 handler.repl = "\udcff"
1087 handler.repl = "x"