Skip to content

Commit

Permalink
Fix enumeration test
Browse files Browse the repository at this point in the history
  • Loading branch information
kounelisagis committed Sep 10, 2024
1 parent 00e070c commit 814b25b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tiledb/tests/test_enumeration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 814b25b

Please sign in to comment.