Lines Matching refs:sout
102 sout = b"«ℜ» = ⟨ሴ€⟩"
103 self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout)
104 sout = b"\xabℜ\xbb = ⟨ሴ€⟩"
105 self.assertEqual(sin.encode("latin-1", "test.xmlcharnamereplace"), sout)
106 sout = b"\xabℜ\xbb = ⟨ሴ\xa4⟩"
107 self.assertEqual(sin.encode("iso-8859-15", "test.xmlcharnamereplace"), sout)
130 … sout = b"\033[1mNOT SIGN, ETHIOPIC SYLLABLE SEE, EURO SIGN, CJK UNIFIED IDEOGRAPH-8000\033[0m"
131 self.assertEqual(sin.encode("ascii", "test.uninamereplace"), sout)
133 sout = b"\xac\033[1mETHIOPIC SYLLABLE SEE, EURO SIGN, CJK UNIFIED IDEOGRAPH-8000\033[0m"
134 self.assertEqual(sin.encode("latin-1", "test.uninamereplace"), sout)
136 … sout = b"\xac\033[1mETHIOPIC SYLLABLE SEE\033[0m\xa4\033[1mCJK UNIFIED IDEOGRAPH-8000\033[0m"
137 self.assertEqual(sin.encode("iso-8859-15", "test.uninamereplace"), sout)
143 sout = b"a\\xac\\u1234\\u20ac\\u8000\\U0010ffff"
144 self.assertEqual(sin.encode("ascii", "backslashreplace"), sout)
146 sout = b"a\xac\\u1234\\u20ac\\u8000\\U0010ffff"
147 self.assertEqual(sin.encode("latin-1", "backslashreplace"), sout)
149 sout = b"a\xac\\u1234\xa4\\u8000\\U0010ffff"
150 self.assertEqual(sin.encode("iso-8859-15", "backslashreplace"), sout)
156 sout = (b'a\\N{NOT SIGN}\\N{ETHIOPIC SYLLABLE SEE}\\N{EURO SIGN}'
158 self.assertEqual(sin.encode("ascii", "namereplace"), sout)
160 sout = (b'a\xac\\N{ETHIOPIC SYLLABLE SEE}\\N{EURO SIGN}'
162 self.assertEqual(sin.encode("latin-1", "namereplace"), sout)
164 sout = (b'a\xac\\N{ETHIOPIC SYLLABLE SEE}\xa4'
166 self.assertEqual(sin.encode("iso-8859-15", "namereplace"), sout)
185 sout = "a\x00b\x00c\xfc\x00\x00"
186 self.assertEqual(sin.decode("utf-8", "test.relaxedutf8"), sout)
200 sout = b"AABBCC"
201 self.assertEqual(codecs.charmap_encode(sin, "strict", charmap)[0], sout)
208 sout = b"AABBCCXYZXYZXYZ"
209 self.assertEqual(codecs.charmap_encode(sin, "replace", charmap)[0], sout)