def METHOD_NAME(self):
    """
    As above but without a newstr object. Fails on Py2.
    """
    payload = u'cMO2c3RhbA\udcc3\udca1=\n'
    b = payload.encode('ascii', 'surrogateescape')
    self.assertEqual(b, b'cMO2c3RhbA\xc3\xa1=\n')