Skip to content

Commit

Permalink
test(api): update test to avoid executing anything
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman committed Dec 26, 2024
1 parent f7fe2f8 commit 5f5ab22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/expr/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def test_memtable_column_names_match_schema():
df = pd.DataFrame([[1, 2], [3, 4]])
schema = {"a": "int64", "b": "int64"}
t = ibis.memtable(df, schema=schema)
t.a.execute() # Raises a KeyError if the column name does not match
assert t.op().data.to_frame().columns.tolist() == ["a", "b"]

Check warning on line 152 in ibis/expr/tests/test_api.py

View check run for this annotation

Codecov / codecov/patch

ibis/expr/tests/test_api.py#L149-L152

Added lines #L149 - L152 were not covered by tests


@pytest.mark.parametrize(
Expand Down

0 comments on commit 5f5ab22

Please sign in to comment.