Set literals

This commit is contained in:
enkore 2013-10-23 17:15:09 +02:00
parent 8fe5c77acd
commit d4e5e88986

View File

@ -238,7 +238,7 @@ class KeyConstraintDictAdvancedTests(unittest.TestCase):
kcd["foo"] = None
assert kcd.missing() == set()
del kcd["foo"]
assert kcd.missing() == set(["foo"])
assert kcd.missing() == {"foo"}
def test_set_twice(self):
kcd = util.KeyConstraintDict(
@ -247,7 +247,7 @@ class KeyConstraintDictAdvancedTests(unittest.TestCase):
kcd["foo"] = 2
assert kcd.missing() == set()
del kcd["foo"]
assert kcd.missing() == set(["foo"])
assert kcd.missing() == {"foo"}
class FormatPTests(unittest.TestCase):