Skip to content

Commit f9858c0

Browse files
javiplxadamchainz
andauthored
Simplify set construction
Co-Authored-By: Adam Johnson <[email protected]>
1 parent a653813 commit f9858c0

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
@@ -110,7 +110,7 @@ def test_application_order(self):
110110
out = Author.objects.exclude(id=self.shakes.id).aggregate(
111111
tids=GroupConcat("tutor_id", distinct=True)
112112
)
113-
assert out == {"tids": set(map(str,[self.shakes.id]))}
113+
assert out == {"tids": {str(self.shakes.id)}}
114114

115115
@override_mysql_variables(SQL_MODE="ANSI")
116116
def test_separator_ansi_mode(self):

0 commit comments

Comments
 (0)