def test_bytes(self):
    quoted = self._call_fut(b'\xde\xad\xbe\xef')
    self.assertEqual(quoted, '%DE%AD%BE%EF')
def test_bytes(self):
    quoted = self._call_fut(b'\xde\xad\xbe\xef')
    self.assertEqual(quoted, '%DE%AD%BE%EF')