Add a more informative error message for test_float_parsing so the failing
locale can be known.
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 @@
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)