Skip to content

Commit a19bb00

Browse files
authored
test(backends): remove now unused supports_divide_by_zero backend flag (ibis-project#8937)
Test case configuration now happens through pytest markers. depends on ibis-project#8935
1 parent 37ffa94 commit a19bb00

7 files changed

Lines changed: 0 additions & 8 deletions

File tree

docs/contribute/05_reference.qmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ from ibis.backends.tests.base import BackendTest
1818
class TestConf(BackendTest):
1919
"""Backend-specific class with information for testing."""
2020

21-
supports_divide_by_zero = True
2221
supports_floating_modulus = False
2322
returned_timestamp_unit = "us"
2423
supports_structs = True

ibis/backends/bigquery/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
class TestConf(BackendTest):
2222
"""Backend-specific class with information for testing."""
2323

24-
supports_divide_by_zero = True
2524
supports_floating_modulus = False
2625
returned_timestamp_unit = "us"
2726
supports_structs = True

ibis/backends/datafusion/tests/conftest.py

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

1313
class TestConf(BackendTest):
1414
# check_names = False
15-
# supports_divide_by_zero = True
1615
# returned_timestamp_unit = 'ns'
1716
supports_structs = False
1817
supports_json = False

ibis/backends/exasol/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class TestConf(ServiceBackendTest):
2727
check_dtype = False
2828
check_names = False
2929
supports_arrays = False
30-
supports_divide_by_zero = False
3130
returned_timestamp_unit = "us"
3231
supported_to_timestamp_units = {"s", "ms", "us"}
3332
supports_floating_modulus = True

ibis/backends/impala/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
class TestConf(BackendTest):
2424
supports_arrays = True
2525
check_dtype = False
26-
supports_divide_by_zero = True
2726
returned_timestamp_unit = "s"
2827
supports_structs = False
2928
supports_json = False

ibis/backends/pandas/tests/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
class TestConf(BackendTest):
1919
check_names = False
2020
supported_to_timestamp_units = BackendTest.supported_to_timestamp_units | {"ns"}
21-
supports_divide_by_zero = True
2221
returned_timestamp_unit = "ns"
2322
stateful = False
2423
rounding_method = "half_to_even"

ibis/backends/tests/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class BackendTest(abc.ABC):
3636
"Check that column name matches when comparing Pandas Series"
3737
supports_arrays: bool = True
3838
"Whether backend supports Arrays / Lists"
39-
supports_divide_by_zero: bool = False
40-
"Whether backend supports division by zero"
4139
returned_timestamp_unit: str = "us"
4240
supported_to_timestamp_units = {"s", "ms", "us"}
4341
supports_floating_modulus: bool = True

0 commit comments

Comments
 (0)