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