Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/mock.py')
-rw-r--r--test/lib/mock.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lib/mock.py b/test/lib/mock.py
index c4a4e6332..0c2b6170a 100644
--- a/test/lib/mock.py
+++ b/test/lib/mock.py
@@ -228,8 +228,7 @@ class MockCall:
for p in self.params:
s = s + sep + repr(p)
sep = ', '
- items = self.kwparams.items()
- items.sort()
+ items = sorted(self.kwparams.items())
for k,v in items:
s = s + sep + k + '=' + repr(v)
sep = ', '