From 4dcc19aabc989c43954a97bf63e141dd07f7e275 Mon Sep 17 00:00:00 2001 From: Pablo Brubeck Date: Tue, 31 Dec 2024 09:59:44 -0600 Subject: [PATCH] Fix test --- test/test_str.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_str.py b/test/test_str.py index 085aee7b2..25f410428 100755 --- a/test/test_str.py +++ b/test/test_str.py @@ -97,8 +97,8 @@ def test_str_scalar_argument(self): def test_str_list_vector(): domain = Mesh(FiniteElement("Lagrange", tetrahedron, 1, (3,), identity_pullback, H1)) x, y, z = SpatialCoordinate(domain) - v = as_vector((x, y, z)) - assert str(v) == ("[%s, %s, %s]" % (x, y, z)) + v = as_vector((x, y)) + assert str(v) == ("[%s, %s]" % (x, y)) def test_str_list_vector_with_zero():