Skip to content

Commit 97898ee

Browse files
committed
allocate no longer takes a param
1 parent 3f07a21 commit 97898ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unittests/model_tests/neuron/test_synaptic_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_write_data_spec() -> None:
146146
writer.add_edge(edge, part_id)
147147
splitter_partitioner()
148148
allocator = ZonedRoutingInfoAllocator()
149-
writer.set_routing_infos(allocator.allocate([]))
149+
writer.set_routing_infos(allocator.allocate())
150150

151151
post_vertex = next(iter(post_pop._vertex.machine_vertices))
152152
post_vertex_slice = post_vertex.vertex_slice
@@ -466,7 +466,7 @@ def test_pop_based_master_pop_table_standard(
466466
writer.add_edge(edge, part_id)
467467
splitter_partitioner()
468468
allocator = ZonedRoutingInfoAllocator()
469-
writer.set_routing_infos(allocator.allocate([]))
469+
writer.set_routing_infos(allocator.allocate())
470470

471471
post_mac_vertex = next(iter(post_pop._vertex.machine_vertices))
472472
post_vertex_slice = post_mac_vertex.vertex_slice

0 commit comments

Comments
 (0)