diff options
Diffstat (limited to 'Lib/test/test__locale.py')
-rw-r--r-- | Lib/test/test__locale.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index abdb87e..8f2598f 100644 --- a/Lib/test/test__locale.py +++ b/Lib/test/test__locale.py @@ -105,8 +105,10 @@ class _LocaleTests(unittest.TestCase): setlocale(LC_NUMERIC, loc) except Error: continue - self.assertEquals(int(eval('3.14') * 100), 314) - self.assertEquals(int(float('3.14') * 100), 314) + self.assertEquals(int(eval('3.14') * 100), 314, + "using eval('3.14') failed for %s" % loc) + self.assertEquals(int(float('3.14') * 100), 314, + "using float('3.14') failed for %s" % loc) |