Skip to content

Commit

Permalink
non underscore group
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter committed May 6, 2021
1 parent 1376706 commit 03210bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/tests/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1881,13 +1881,13 @@ async def test_task_groups(c, s, a, b):
assert tg.nbytes_total == tp.nbytes_total
# It should map down to individual tasks
assert tg.nbytes_total == sum(
[ts.get_nbytes() for ts in s.tasks.values() if ts._group is tg]
[ts.get_nbytes() for ts in s.tasks.values() if ts.group is tg]
)
in_memory_ts = sum(
[
ts.get_nbytes()
for ts in s.tasks.values()
if ts._group is tg and ts.state == "memory"
if ts.group is tg and ts.state == "memory"
]
)
assert tg.nbytes_in_memory == in_memory_ts
Expand Down

0 comments on commit 03210bc

Please sign in to comment.