summaryrefslogtreecommitdiff
path: root/tests/test_stanza_element.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-12-06 17:08:00 +0100
committermathieui <mathieui@mathieui.net>2020-12-06 17:08:00 +0100
commitbcd8cf085f528c602f78cba2c9eb2d784eb993da (patch)
treeb7d76a453597a5a6cbdc0347f21f4d9fdfa568d5 /tests/test_stanza_element.py
parent73cc2a40082cf936221adb09cfe208bd06cd4b60 (diff)
parentcd4c9f82fc8d17726baa4b4a69c54151fb181f40 (diff)
downloadslixmpp-bcd8cf085f528c602f78cba2c9eb2d784eb993da.tar.gz
slixmpp-bcd8cf085f528c602f78cba2c9eb2d784eb993da.tar.bz2
slixmpp-bcd8cf085f528c602f78cba2c9eb2d784eb993da.tar.xz
slixmpp-bcd8cf085f528c602f78cba2c9eb2d784eb993da.zip
Merge branch 'no-ordered-stuff' into 'master'
Remove usage of OrderedDict See merge request poezio/slixmpp!77
Diffstat (limited to 'tests/test_stanza_element.py')
-rw-r--r--tests/test_stanza_element.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_stanza_element.py b/tests/test_stanza_element.py
index 2090f05a..8ebc9b23 100644
--- a/tests/test_stanza_element.py
+++ b/tests/test_stanza_element.py
@@ -1,7 +1,6 @@
import unittest
from slixmpp.test import SlixTest
from slixmpp.xmlstream.stanzabase import ElementBase, register_stanza_plugin, ET
-from collections import OrderedDict
class TestElementBase(SlixTest):
@@ -1221,7 +1220,7 @@ class TestElementBase(SlixTest):
sub_interfaces = interfaces
lang_interfaces = interfaces
- data = OrderedDict()
+ data = {}
data['en'] = 'hi'
data['fr'] = 'bonjour'
data['no'] = 'hej'