Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added assertion
  • Loading branch information
Gowthami03B committed May 12, 2024
commit b27638f7f7010b65205046294f330b0cc0a70d62
6 changes: 4 additions & 2 deletions tests/integration/test_inspect_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,10 @@ def test_inspect_files(
'lower_bounds',
'upper_bounds',
]:
# Arrow returns a list of tuples, instead of a dict
left = dict(left)
if isinstance(right, dict):
left = dict(left)
assert left == right, f"Difference in column {column}: {left} != {right}"

elif column == 'readable_metrics':
assert list(left.keys()) == [
'bool',
Expand Down