From 36e106b5915c6348c0d8e007e12b5eefcfedf56f Mon Sep 17 00:00:00 2001 From: Eduardo Blancas Date: Tue, 27 Jun 2023 11:30:44 -0600 Subject: [PATCH] fix --- src/tests/integration/test_duckDB.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/tests/integration/test_duckDB.py b/src/tests/integration/test_duckDB.py index fb61b2053..d869873bc 100644 --- a/src/tests/integration/test_duckDB.py +++ b/src/tests/integration/test_duckDB.py @@ -29,9 +29,10 @@ def test_auto_commit_mode_off(ip_with_duckDB, caplog): assert any("weather" == table[0] for table in tables_out) -def test_autopandas_with_multiple_statements(ip_with_duckDB): - ip_with_duckDB.run_cell("%config SqlMagic.autopandas=True") - ip_with_duckDB.run_cell("%sql CREATE TABLE weather (city VARCHAR,);") - out = ip_with_duckDB.run_cell("%sql SELECT * FROM weather; SELECT * FROM weather;") +def test_autopandas_with_multiple_statements(ip_empty): + ip_empty.run_cell("%sql duckdb://") + # ip_empty.run_cell("%config SqlMagic.autopandas=True") + ip_empty.run_cell("%sql CREATE TABLE weather (city VARCHAR,);") + out = ip_empty.run_cell("%sql SELECT * FROM weather; SELECT * FROM weather;") assert out.error_in_exec is None