diff options
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/mock.py | 3 |
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 = ', ' |