diff --git a/ibis/expr/operations/tests/test_core.py b/ibis/expr/operations/tests/test_core.py index eb4afa04bae4..0edf5b8cf281 100644 --- a/ibis/expr/operations/tests/test_core.py +++ b/ibis/expr/operations/tests/test_core.py @@ -185,12 +185,11 @@ def test_custom_table_expr(): class MyTable(ir.Table): pass - class SpecialTable(ops.DatabaseTable): + class SpecialTable(ops.UnboundTable): def to_expr(self): return MyTable(self) - con = ibis.pandas.connect({}) - node = SpecialTable("foo", ibis.schema([("a", "int64")]), con) + node = SpecialTable(name="foo", schema=ibis.schema([("a", "int64")])) expr = node.to_expr() assert isinstance(expr, MyTable)