From dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Oct 2016 13:21:06 +0100 Subject: sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py --- tests/test_stanza_xep_0050.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_stanza_xep_0050.py') diff --git a/tests/test_stanza_xep_0050.py b/tests/test_stanza_xep_0050.py index 7272d783..0898b136 100644 --- a/tests/test_stanza_xep_0050.py +++ b/tests/test_stanza_xep_0050.py @@ -51,7 +51,7 @@ class TestAdHocCommandStanzas(SlixTest): iq['command']['actions'] = ['prev', 'next'] results = iq['command']['actions'] - expected = set(['prev', 'next']) + expected = {'prev', 'next'} self.assertEqual(results, expected, "Incorrect next actions: %s" % results) -- cgit v1.2.3