def METHOD_NAME(self):
    # Bug #1391872: Test whether float parsing is okay on European
    # locales.
    tested = False
    for loc in candidate_locales:
        try:
            setlocale(LC_NUMERIC, loc)
            setlocale(LC_CTYPE, loc)
        except Error:
            continue
        # Ignore buggy locale databases. (Mac OS 10.4 and some other BSDs)
        if loc == 'eu_ES' and localeconv()['decimal_point'] == "' ":
            continue
        self.assertEqual(int(eval('3.14') * 100), 314,
                            "using eval('3.14') failed for %s" % loc)
        self.assertEqual(int(float('3.14') * 100), 314,
                            "using float('3.14') failed for %s" % loc)
        if localeconv()['decimal_point'] != '.':
            self.assertRaises(ValueError, float,
                              localeconv()['decimal_point'].join(['1', '23']))
        tested = True
    if not tested:
        self.skipTest('no suitable locales')