diff options
author | Raymond Hettinger <python@rcn.com> | 2010-09-10 10:47:22 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-09-10 10:47:22 (GMT) |
commit | ffd2a4215a0bfe82f48ff71381bbfce8552f5f0c (patch) | |
tree | 74cfadca537a186e8564511bca62c81b694434c1 /Lib/test/test_random.py | |
parent | d55ffdbee38ba9693a2d3346318ef51b5840ea65 (diff) | |
download | cpython-ffd2a4215a0bfe82f48ff71381bbfce8552f5f0c.zip cpython-ffd2a4215a0bfe82f48ff71381bbfce8552f5f0c.tar.gz cpython-ffd2a4215a0bfe82f48ff71381bbfce8552f5f0c.tar.bz2 |
Issue 9816: Random.jumpahead(n) didn't work well for small values of n.
Diffstat (limited to 'Lib/test/test_random.py')
-rw-r--r-- | Lib/test/test_random.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_random.py b/Lib/test/test_random.py index 94c20ce..df82990 100644 --- a/Lib/test/test_random.py +++ b/Lib/test/test_random.py @@ -55,8 +55,6 @@ class TestBasicOps(unittest.TestCase): with test_support.check_py3k_warnings(quiet=True): self.assertRaises(TypeError, self.gen.jumpahead) # needs an arg - self.assertRaises(TypeError, self.gen.jumpahead, "ick") # wrong type - self.assertRaises(TypeError, self.gen.jumpahead, 2.3) # wrong type self.assertRaises(TypeError, self.gen.jumpahead, 2, 3) # too many def test_sample(self): |