Skip to content

Commit d09b03b

Browse files
committed
test: relax graph update topology mismatch regex to not depend on docstring text
1 parent 82e6bb8 commit d09b03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_core/tests/graph/test_graph_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_graph_update_topology_mismatch(init_cuda):
191191
launch(gb2, LaunchConfig(grid=1, block=1), empty_kernel)
192192
gb2.end_building()
193193

194-
expected = r"Graph update failed: The update failed because the topology changed \(CU_GRAPH_EXEC_UPDATE_ERROR_TOPOLOGY_CHANGED\)"
194+
expected = r"Graph update failed: .+ \(CU_GRAPH_EXEC_UPDATE_ERROR_TOPOLOGY_CHANGED\)"
195195
with pytest.raises(CUDAError, match=expected):
196196
graph.update(gb2)
197197

0 commit comments

Comments
 (0)