8000 fix for Python 3 · factorlibre/wc-api-python@e4092b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit e4092b4

Browse files
committed
fix for Python 3
1 parent 726bbcc commit e4092b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def check_sorted(keys, expected):
125125
for key in keys:
126126
params[key] = ''
127127

128-
ordered = oauth.OAuth.sorted_params(params).keys()
128+
ordered = list(oauth.OAuth.sorted_params(params).keys())
129129
self.assertEqual(ordered, expected)
130130

131131
check_sorted(['a', 'b'], ['a', 'b'])

0 commit comments

Comments
 (0)
0