Lines Matching refs:a2b_qp
180 a2b_qp = binascii.a2b_qp
183 a2b_qp(data=b"", header=False) # Keyword arguments allowed
187 a2b_qp(b"", **{1:1})
193 self.assertEqual(a2b_qp(type2test(b"=")), b"")
194 self.assertEqual(a2b_qp(type2test(b"= ")), b"= ")
195 self.assertEqual(a2b_qp(type2test(b"==")), b"=")
196 self.assertEqual(a2b_qp(type2test(b"=\nAB")), b"AB")
197 self.assertEqual(a2b_qp(type2test(b"=\r\nAB")), b"AB")
198 self.assertEqual(a2b_qp(type2test(b"=\rAB")), b"") # ?
199 self.assertEqual(a2b_qp(type2test(b"=\rAB\nCD")), b"CD") # ?
200 self.assertEqual(a2b_qp(type2test(b"=AB")), b"\xab")
201 self.assertEqual(a2b_qp(type2test(b"=ab")), b"\xab")
202 self.assertEqual(a2b_qp(type2test(b"=AX")), b"=AX")
203 self.assertEqual(a2b_qp(type2test(b"=XA")), b"=XA")
204 self.assertEqual(a2b_qp(type2test(b"=AB")[:-1]), b"=A")
206 self.assertEqual(a2b_qp(type2test(b'_')), b'_')
207 self.assertEqual(a2b_qp(type2test(b'_'), header=True), b' ')
210 self.assertEqual(a2b_qp(type2test(b"=00\r\n=00")), b"\x00\r\n\x00")