def METHOD_NAME(self):
    # Test nl_langinfo against localeconv
    tested = False
    for loc in candidate_locales:
        try:
            setlocale(LC_NUMERIC, loc)
            setlocale(LC_CTYPE, loc)
        except Error:
            continue
        for li, lc in ((RADIXCHAR, "decimal_point"),
                        (THOUSEP, "thousands_sep")):
            nl_radixchar = nl_langinfo(li)
            li_radixchar = localeconv()[lc]
            try:
                set_locale = setlocale(LC_NUMERIC)
            except Error:
                set_locale = "<not able to determine>"
            self.assertEqual(nl_radixchar, li_radixchar,
                            "%s (nl_langinfo) != %s (localeconv) "
                            "(set to %s, using %s)" % (
                                            nl_radixchar, li_radixchar,
                                            loc, set_locale))
            tested = True
    if not tested:
        self.skipTest('no suitable locales')