Commit 6008858a authored by Matt Traudt's avatar Matt Traudt
Browse files

Make two tests actually test something

parent e00e531f
......@@ -68,7 +68,7 @@ def test_state_del(tmpdir):
attempt_keys = (15983, None, True, -1.2, [], {}, set())
for key in attempt_keys:
try:
del state[False]
del state[key]
except TypeError:
pass
else:
......@@ -116,5 +116,4 @@ def test_state_iter(tmpdir):
d = {'a': 1, 'b': 2, 'c': 3, 'd': 4}
for key in d:
state[key] = d[key]
for key in state:
pass
assert set([key for key in state]) == set(d)
Supports Markdown
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