]> granicus.if.org Git - python/commit
SF bug #1460340: random.sample can raise KeyError
authorRaymond Hettinger <python@rcn.com>
Wed, 29 Mar 2006 09:13:13 +0000 (09:13 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 29 Mar 2006 09:13:13 +0000 (09:13 +0000)
commit3c3346daa9bf900080428ed12b6d83aa04f7332b
tree08c345b00a41ebb40ee9bf4ade8cc3833cc7ba57
parent62e97f023bf0c02f5f3c1a1552e8136c0b5c4cff
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