diff --git a/tiledb/tests/test_enumeration.py b/tiledb/tests/test_enumeration.py index 449b4f79aa..f14112dd36 100644 --- a/tiledb/tests/test_enumeration.py +++ b/tiledb/tests/test_enumeration.py @@ -92,7 +92,10 @@ def test_array_schema_enumeration(self): with self.assertRaises(tiledb.TileDBError) as excinfo: assert A.enum("enmr3") == [] - assert " No enumeration named 'enmr3'" in str(excinfo.value) + assert ( + "Array: Unable to get enumeration; Enumeration 'enmr3' does not exist." + == str(excinfo.value) + ) assert attr3.enum_label is None assert A.attr("attr3").enum_label is None