From 973dc7d35e930ed2ef0f67b6a30e208ac7d04f9b Mon Sep 17 00:00:00 2001 From: John Kerl Date: Tue, 4 Oct 2022 10:14:43 -0400 Subject: [PATCH] debug unit-test failures --- apis/python/tests/test_soma_dataframe.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apis/python/tests/test_soma_dataframe.py b/apis/python/tests/test_soma_dataframe.py index 1ea1706e9a..74664e5e0a 100644 --- a/apis/python/tests/test_soma_dataframe.py +++ b/apis/python/tests/test_soma_dataframe.py @@ -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)