Skip to content

Commit b97fdbe

Browse files
author
Javier Palacios
committed
Cast to list return of reverse()
1 parent db16f43 commit b97fdbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testapp/test_aggregates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_ordering_asc(self):
130130

131131
def test_ordering_desc(self):
132132
out = self.shakes.tutees.aggregate(tids=GroupConcat("id", ordering="desc"))
133-
assert out == {"tids": reversed(self.str_tutee_ids)}
133+
assert out == {"tids": list(reversed(self.str_tutee_ids))}
134134

135135
def test_separator_ordering(self):
136136
concat = GroupConcat("id", separator=":", ordering="asc")

0 commit comments

Comments
 (0)