def METHOD_NAME(self):
    from ctypes import byref, c_wchar_p
    s = u"123"
    if sys.platform == "win32":
        self.assertTrue(c_wchar_p.from_param(s)._obj is s)
        self.assertRaises(TypeError, c_wchar_p.from_param, 42)
        # new in 0.9.1: convert (decode) ascii to unicode
        self.assertEqual(c_wchar_p.from_param("123")._obj, u"123")
    self.assertRaises(UnicodeDecodeError, c_wchar_p.from_param, "123\377")
    pa = c_wchar_p.from_param(c_wchar_p(u"123"))
    self.assertEqual(type(pa), c_wchar_p)