From d4e5e8898663bcf300c4a8dbbf23371bf78437af Mon Sep 17 00:00:00 2001 From: enkore Date: Wed, 23 Oct 2013 17:15:09 +0200 Subject: [PATCH] Set literals --- tests/test_core_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_core_util.py b/tests/test_core_util.py index 6f344ca..86171f3 100644 --- a/tests/test_core_util.py +++ b/tests/test_core_util.py @@ -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):