def METHOD_NAME(self, name, code):
    # Helper that put all \N escapes inside eval'd raw strings,
    # to make sure this script runs even if the compiler
    # chokes on \N escapes
    res = eval(ur'u"\N{%s}"' % name)
    self.assertEqual(res, code)
    return res