Skip to content

Commit

Permalink
improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Feb 5, 2024
1 parent 89648d2 commit 998edbd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/test_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,13 @@ def test_number_symbolic_tags_bare_classes(ctx_factory):
outputs = pt.make_dict_of_named_arrays({"out": res})
partition = pt.find_distributed_partition(comm, outputs)

pt.number_distributed_tags(comm, partition, base_tag=4242)
(distp, next_tag) = pt.number_distributed_tags(comm, partition, base_tag=4242)

assert next_tag == 4244

# For the next assertion, find_distributed_partition needs to be
# deterministic too (https://github.com/inducer/pytato/pull/465).
# assert next(iter(distp.parts[0].name_to_send_nodes.values()))[0].comm_tag == 4242 # noqa: E501

# }}}

Expand Down

0 comments on commit 998edbd

Please sign in to comment.