def test_select_ipc_first_n(self, con, stocks): pytest.importorskip("pandas") result = con.select_ipc("select * from stocks", first_n=1) assert len(result) == 1