Commit 97a89080 authored by Tres Seaver's avatar Tres Seaver

(Re)fix boneheaded regression test.

Lost 56bd1d04 in a merge?
parent b6a1f722
......@@ -280,9 +280,11 @@ class BugFixes(unittest.TestCase):
t[id] = ToBeDeleted(id)
else:
#del
id = trandom.choice(list(ids.keys()))
del t[id]
del ids[id]
keys = list(ids.keys())
if keys:
id = trandom.choice(list(ids.keys()))
del t[id]
del ids[id]
ids = ids.keys()
trandom.shuffle(list(ids))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment