Skip to content

Commit

Permalink
ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Jan 26, 2024
1 parent 1b62560 commit 3abd882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ def test_agentset_shuffle():
agentset = AgentSet(test_agents, model=model)

agentset = agentset.shuffle()
assert not all([a1==a2 for a1, a2 in zip(test_agents, agentset)])
assert not all(a1 == a2 for a1, a2 in zip(test_agents, agentset))

agentset = AgentSet(test_agents, model=model)
agentset.shuffle(inplace=True)
assert not all([a1 == a2 for a1, a2 in zip(test_agents, agentset)])
assert not all(a1 == a2 for a1, a2 in zip(test_agents, agentset))

0 comments on commit 3abd882

Please sign in to comment.