diff --git a/tiledb/tests/test_schema_evolution.py b/tiledb/tests/test_schema_evolution.py index 4b0ab7521f..5110e8ab1e 100644 --- a/tiledb/tests/test_schema_evolution.py +++ b/tiledb/tests/test_schema_evolution.py @@ -43,7 +43,7 @@ def test_schema_evolution(tmp_path): with pytest.raises(tiledb.TileDBError) as excinfo: se.add_attribute(newattr) assert "Input attribute name is already there" in str(excinfo.value) - assert Path("tiledb") / "schema_evolution.cc" in str(excinfo.value) + assert str(Path("tiledb") / "schema_evolution.cc") in str(excinfo.value) se.array_evolve(uri)