Skip to content

Commit

Permalink
[Data] Fix usage of "id" in test_map (#48655)
Browse files Browse the repository at this point in the history
#47752 introduced a minor, silent
issue in test_map.
I stumbled across it because a linter I'm using complained.
  • Loading branch information
ArturNiederfahrenhorst authored Nov 9, 2024
1 parent e2dfcc8 commit d4c25e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/ray/data/tests/test_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def test_basic_actors(shutdown_only):
def _all_actors_dead():
actor_table = ray.state.actors()
actors = {
id: actor_info
for actor_info in actor_table.values()
_id: actor_info
for _id, actor_info in actor_table.items()
if actor_info["ActorClassName"] == _MapWorker.__name__
}
assert len(actors) > 0
Expand Down

0 comments on commit d4c25e9

Please sign in to comment.