From 32e78560234e4208787a2ae934b50d6bbd6ba5db Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Mon, 8 Jan 2024 11:36:02 +0100 Subject: [PATCH] test/python: fix assert --- test/python_unit/geometric_shapes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/python_unit/geometric_shapes.py b/test/python_unit/geometric_shapes.py index 1edfa38cf..0b4d52a27 100644 --- a/test/python_unit/geometric_shapes.py +++ b/test/python_unit/geometric_shapes.py @@ -179,8 +179,8 @@ def test_convex(self): hppfcl.Convex.convexHull(verts, False, None) qhullAvailable = True except Exception as e: - self.assertEqual( - str(e), "Library built without qhull. Cannot build object of this type." + self.assertIn( + "Library built without qhull. Cannot build object of this type.", str(e) ) qhullAvailable = False