Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KeXiangWang committed Jan 25, 2024
1 parent 89bd7ba commit e68b0db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
13 changes: 0 additions & 13 deletions ibis/backends/risingwave/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
from __future__ import annotations

# Copyright 2015 Cloudera Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
from typing import TYPE_CHECKING, Any

Expand Down
16 changes: 1 addition & 15 deletions ibis/backends/risingwave/tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# Copyright 2015 Cloudera Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import annotations

import os
Expand Down Expand Up @@ -60,14 +47,13 @@ def test_simple_aggregate_execute(alltypes):


def test_list_tables(con):
assert len(con.list_tables()) > 0
assert con.list_tables()
assert len(con.list_tables(like="functional")) == 1


def test_compile_toplevel(snapshot):
t = ibis.table([("foo", "double")], name="t0")

# it works!
expr = t.foo.sum()
result = ibis.postgres.compile(expr)
snapshot.assert_match(str(result), "out.sql")
Expand Down

0 comments on commit e68b0db

Please sign in to comment.