Skip to content

Commit

Permalink
remove unnecessary list comprehension
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Aug 21, 2024
1 parent 585025b commit f0dccf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,4 +380,4 @@ def get_unique_identifier(self):

attributes = agentset.groupby("even", result_type="agentset").apply("get", "even")
for group_name, group in attributes.items():
assert all([group_name == entry for entry in group])
assert all(group_name == entry for entry in group)

0 comments on commit f0dccf6

Please sign in to comment.