Skip to content

Commit be6cf1b

Browse files
authored
Fix incorrect test (sc-36302) (#1860)
1 parent 1206aca commit be6cf1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tiledb/tests/test_query_condition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def test_qc_enumeration(self):
855855

856856
def test_boolean_insert(self):
857857
path = self.path("test_boolean_insert")
858-
attr = tiledb.Attr("a", dtype=np.bool_, var=True)
858+
attr = tiledb.Attr("a", dtype=np.bool_, var=False)
859859
dom = tiledb.Domain(tiledb.Dim(domain=(1, 10), tile=1, dtype=np.uint32))
860860
schema = tiledb.ArraySchema(domain=dom, sparse=True, attrs=[attr])
861861
tiledb.Array.create(path, schema)
@@ -875,7 +875,7 @@ def test_boolean_insert(self):
875875

876876
with tiledb.open(path, "r") as A:
877877
for k in A[:]["a"]:
878-
assert k[0] == True # noqa: E712
878+
assert k == True # noqa: E712
879879

880880

881881
class QueryDeleteTest(DiskTestCase):

0 commit comments

Comments
 (0)