Add better error reporting for MemoryErrors caused by str->float conversions.
diff --git a/Lib/test/test_strtod.py b/Lib/test/test_strtod.py
index 1883820..1892542 100644
--- a/Lib/test/test_strtod.py
+++ b/Lib/test/test_strtod.py
@@ -91,6 +91,8 @@
             fs = float(s)
         except OverflowError:
             got = '-inf' if s[0] == '-' else 'inf'
+        except MemoryError:
+            got = 'memory error'
         else:
             got = fs.hex()
         expected = strtod(s)