Skip to content

Commit 0961df6

Browse files
Quek Ching YeeQuek Ching Yee
authored andcommitted
fix: skip staticmethod for python3.9
1 parent 9165824 commit 0961df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tree/test_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,11 +1140,11 @@ def test_tree_to_polars_name_col_missing(tree_node):
11401140
actual = export.tree_to_polars(tree_node, name_col="")
11411141
assert expected.equals(actual)
11421142

1143+
@staticmethod
11431144
@unittest.skipIf(
11441145
tuple(map(int, pl.__version__.split(".")[:2])) > (1, 9),
11451146
reason="Not compatible with polars>1.9.0",
11461147
)
1147-
@staticmethod
11481148
def test_tree_to_polars_name_path_col_missing(tree_node):
11491149
expected = pl.DataFrame()
11501150
expected.index = range(8)

0 commit comments

Comments
 (0)