Fix py3k warnings in 1/0 in tests. (#4072)

diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py
index d2a4f21..8a6d172 100644
--- a/Lib/test/test_random.py
+++ b/Lib/test/test_random.py
@@ -313,10 +313,10 @@
         # long/int subclass argument.
         class BadInt(int):
             def __abs__(self):
-                1/0
+                1/0.0
         class BadLong(long):
             def __abs__(self):
-                1/0
+                1/0.0
         self.gen.seed(42)
         expected_value = self.gen.random()
         for seed_arg in [42L, BadInt(42), BadLong(42)]: