Skip to content

Commit 03210bc

Browse files
committed
non underscore group
1 parent 1376706 commit 03210bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

distributed/tests/test_scheduler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,13 +1881,13 @@ async def test_task_groups(c, s, a, b):
18811881
assert tg.nbytes_total == tp.nbytes_total
18821882
# It should map down to individual tasks
18831883
assert tg.nbytes_total == sum(
1884-
[ts.get_nbytes() for ts in s.tasks.values() if ts._group is tg]
1884+
[ts.get_nbytes() for ts in s.tasks.values() if ts.group is tg]
18851885
)
18861886
in_memory_ts = sum(
18871887
[
18881888
ts.get_nbytes()
18891889
for ts in s.tasks.values()
1890-
if ts._group is tg and ts.state == "memory"
1890+
if ts.group is tg and ts.state == "memory"
18911891
]
18921892
)
18931893
assert tg.nbytes_in_memory == in_memory_ts

0 commit comments

Comments
 (0)