diff --git a/apis/python/tests/test_tiledbvcf.py b/apis/python/tests/test_tiledbvcf.py index bdea039d8..95718f2a0 100755 --- a/apis/python/tests/test_tiledbvcf.py +++ b/apis/python/tests/test_tiledbvcf.py @@ -2112,10 +2112,10 @@ def test_delete_dataset(tmp_path): ds.create_dataset() # Check that the dataset exists - assert tiledb.object_type(uri) + assert os.path.exists(uri) # Delete the dataset tiledbvcf.Dataset.delete(uri) # Check that the dataset does not exist - assert not tiledb.object_type(uri) + assert not os.path.exists(uri)