Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KeXiangWang committed Jan 25, 2024
1 parent e68b0db commit 5c40347
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ibis/backends/risingwave/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ def connect(*, tmpdir, worker_id, port: int | None = None, **kw):

@pytest.fixture(scope="session")

Check warning on line 85 in ibis/backends/risingwave/tests/conftest.py

View check run for this annotation

Codecov / codecov/patch

ibis/backends/risingwave/tests/conftest.py#L85

Added line #L85 was not covered by tests
def con(tmp_path_factory, data_dir, worker_id):
return TestConf.load_data(data_dir, tmp_path_factory, worker_id).connection
con = TestConf.load_data(data_dir, tmp_path_factory, worker_id).connection
cursor = con.raw_sql("SET RW_IMPLICIT_FLUSH TO true;")
cursor.close()
return con

Check warning on line 90 in ibis/backends/risingwave/tests/conftest.py

View check run for this annotation

Codecov / codecov/patch

ibis/backends/risingwave/tests/conftest.py#L87-L90

Added lines #L87 - L90 were not covered by tests


@pytest.fixture(scope="module")

Check warning on line 93 in ibis/backends/risingwave/tests/conftest.py

View check run for this annotation

Codecov / codecov/patch

ibis/backends/risingwave/tests/conftest.py#L93

Added line #L93 was not covered by tests
Expand Down

0 comments on commit 5c40347

Please sign in to comment.