Skip to content

Commit

Permalink
debug unit-test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Oct 4, 2022
1 parent 9215877 commit 973dc7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apis/python/tests/test_soma_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,13 @@ def _check_tbl(tbl, col_names, ids):
len(schema.names) if col_names is None else len(col_names)
)
assert tbl.num_rows == (n_data if ids is None else len(ids))
r = tbl.schema
i = pa.schema(
[
schema.field(f)
for f in (col_names if col_names is not None else schema.names)
]
)
assert tbl.schema == pa.schema(
[
schema.field(f)
Expand Down

0 comments on commit 973dc7d

Please sign in to comment.