Skip to content

Commit

Permalink
make the test a bit more difficult
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Nov 9, 2023
1 parent 060f864 commit 65d0142
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ def gen_comm(rdagc):
nonlocal comm_tag
comm_tag += 1

if comm_tag % 5 == 1:
tag = (comm_tag, frozenset([_RandomDAGTag, _RandomDAGTag]))
if comm_tag % 5 == 1 or 1:
tag = (comm_tag, frozenset([_RandomDAGTag, "a", comm_tag]))
elif comm_tag % 5 == 2:
tag = (comm_tag, (_RandomDAGTag,))
tag = (comm_tag, (_RandomDAGTag, "b"))
else:
tag = (comm_tag, _RandomDAGTag) # noqa: B023

Expand Down

0 comments on commit 65d0142

Please sign in to comment.