From 5f5ab22a4b4c57b6a8238d4c671bf0b781199ffe Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Thu, 26 Dec 2024 17:28:35 -0500 Subject: [PATCH] test(api): update test to avoid executing anything --- ibis/expr/tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibis/expr/tests/test_api.py b/ibis/expr/tests/test_api.py index 768f6a0eae3c..f58e58471614 100644 --- a/ibis/expr/tests/test_api.py +++ b/ibis/expr/tests/test_api.py @@ -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"] @pytest.mark.parametrize(