Skip to content

Commit 2d790f0

Browse files
committed
Fix assertion message in the test.
1 parent 5a4b40d commit 2d790f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_nd_volume.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ def test_nd_cube(dim: int, make_cube: Callable[[int], np.ndarray]) -> None:
3232
assert isinstance(edges, list)
3333
assert len(vertices) >= 1, "There should be at least one vertex in the graph"
3434
assert isinstance(vertices[0], tuple), "The first vertex should be a tuple"
35-
assert len(vertices[0]) == dim, "The first vertex should have n coordinates"
35+
assert (
36+
len(vertices[0]) == dim
37+
), "The first vertex should have as many coordinates as dim"
3638

3739
assert set(vertices[0]).issubset(
3840
{24, 25}

0 commit comments

Comments
 (0)