]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug #1460340: random.sample can raise KeyError
authorRaymond Hettinger <python@rcn.com>
Wed, 29 Mar 2006 08:54:54 +0000 (08:54 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 29 Mar 2006 08:54:54 +0000 (08:54 +0000)
commite76415303f392010d28bd893280a861ec4eefbe4
treeffb217bed6b20f5de0c1db9cdbe85859cae08bb6
parent940a3f799fccfd48e6301f87428dd0f02ee5495f
SF bug #1460340:  random.sample can raise KeyError

Fix the hit and miss style of testing for sets and dicts.
Lib/random.py
Lib/test/test_random.py