Skip to content

Commit 9541109

Browse files
kszucsgforsyth
andauthored
test(backends): remove now unused supported_to_timestamp_units backend flag (ibis-project#8940)
Test case configuration now happens through pytest markers. depends on ibis-project#8939 --------- Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
1 parent ede3a83 commit 9541109

5 files changed

Lines changed: 0 additions & 5 deletions

File tree

ibis/backends/clickhouse/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
class TestConf(ServiceBackendTest):
2626
check_dtype = False
2727
returned_timestamp_unit = "s"
28-
supported_to_timestamp_units = {"s"}
2928
supports_json = False
3029
force_sort = True
3130
rounding_method = "half_to_even"

ibis/backends/exasol/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class TestConf(ServiceBackendTest):
2828
check_names = False
2929
supports_arrays = False
3030
returned_timestamp_unit = "us"
31-
supported_to_timestamp_units = {"s", "ms", "us"}
3231
native_bool = True
3332
supports_structs = False
3433
supports_json = False

ibis/backends/pandas/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
class TestConf(BackendTest):
1919
check_names = False
20-
supported_to_timestamp_units = BackendTest.supported_to_timestamp_units | {"ns"}
2120
returned_timestamp_unit = "ns"
2221
stateful = False
2322
rounding_method = "half_to_even"

ibis/backends/pyspark/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def set_pyspark_database(con, database):
2020

2121

2222
class TestConf(BackendTest):
23-
supported_to_timestamp_units = {"s"}
2423
deps = ("pyspark",)
2524

2625
def _load_data(self, **_: Any) -> None:

ibis/backends/tests/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class BackendTest(abc.ABC):
3737
supports_arrays: bool = True
3838
"Whether backend supports Arrays / Lists"
3939
returned_timestamp_unit: str = "us"
40-
supported_to_timestamp_units = {"s", "ms", "us"}
4140
native_bool: bool = True
4241
"Whether backend has native boolean types"
4342
supports_structs: bool = True

0 commit comments

Comments
 (0)