Skip to content

Commit 39f7682

Browse files
committed
Fix
1 parent aa1b5ff commit 39f7682

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tiledb/tests/test_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_nullable_arrow_buffer(self):
164164
# Corrupted validity buffer causes wrong null positions in .to_pandas().
165165
pyarrow = pytest.importorskip("pyarrow")
166166

167-
def _read_arrow(self, uri):
167+
def _read_arrow(uri):
168168
with tiledb.open(uri, "r") as A:
169169
q = core.PyQuery(A.ctx, A, ("a",), (), 0, True)
170170
sub = tiledb.Subarray(A)
@@ -183,6 +183,6 @@ def _read_arrow(self, uri):
183183
with tiledb.open(uri, "w") as A:
184184
A[np.arange(5)] = {"a": pyarrow.array(["x", "y", None, None, ""])}
185185

186-
df = self._read_arrow(uri).to_pandas()
186+
df = _read_arrow(uri).to_pandas()
187187

188188
assert df["a"].isna().tolist() == [False, False, True, True, False]

0 commit comments

Comments
 (0)