summaryrefslogtreecommitdiff
path: root/tests/test_stanza_element.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:35:54 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:37:46 +0100
commitd008988843f61efb57cb06a30b8a47a357e248a4 (patch)
treee1bd486fd53639561f5af179451f846e371b570c /tests/test_stanza_element.py
parentdcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (diff)
downloadslixmpp-d008988843f61efb57cb06a30b8a47a357e248a4.tar.gz
slixmpp-d008988843f61efb57cb06a30b8a47a357e248a4.tar.bz2
slixmpp-d008988843f61efb57cb06a30b8a47a357e248a4.tar.xz
slixmpp-d008988843f61efb57cb06a30b8a47a357e248a4.zip
Manual cleanup of the remaining set([…]) and set((…)).
Diffstat (limited to 'tests/test_stanza_element.py')
-rw-r--r--tests/test_stanza_element.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_stanza_element.py b/tests/test_stanza_element.py
index 678a49fd..89ea0310 100644
--- a/tests/test_stanza_element.py
+++ b/tests/test_stanza_element.py
@@ -561,12 +561,12 @@ class TestElementBase(SlixTest):
stanza = TestStanza()
- self.failUnless(set(stanza.keys()) == set(('lang', 'bar', 'baz')),
+ self.failUnless(set(stanza.keys()) == {'lang', 'bar', 'baz'},
"Returned set of interface keys does not match expected.")
stanza.enable('qux')
- self.failUnless(set(stanza.keys()) == set(('lang', 'bar', 'baz', 'qux')),
+ self.failUnless(set(stanza.keys()) == {'lang', 'bar', 'baz', 'qux'},
"Incorrect set of interface and plugin keys.")
def testGet(self):