File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ import sys
12import unittest
23
34import pandas as pd
@@ -1318,6 +1319,7 @@ def test_add_dataframe_to_tree_by_name_inconsistent_attributes(self):
13181319 )
13191320
13201321
1322+ @unittest .skipIf (sys .version_info <= (3 , 7 ), "polars not supported" )
13211323class TestAddPolarsToTreeByPath (unittest .TestCase ):
13221324 def setUp (self ):
13231325 """
@@ -1751,6 +1753,7 @@ def test_add_polars_to_tree_by_path_different_root_error(self):
17511753 )
17521754
17531755
1756+ @unittest .skipIf (sys .version_info <= (3 , 7 ), "polars not supported" )
17541757class TestAddPolarsToTreeByName (unittest .TestCase ):
17551758 def setUp (self ):
17561759 """
@@ -3665,6 +3668,7 @@ def test_dataframe_to_tree_by_relation_no_root_error():
36653668 ) == Constants .ERROR_NODE_DATAFRAME_MULTIPLE_ROOT .format (root_nodes = [])
36663669
36673670
3671+ @unittest .skipIf (sys .version_info <= (3 , 7 ), "polars not supported" )
36683672class TestPolarsToTree (unittest .TestCase ):
36693673 def setUp (self ):
36703674 """
@@ -4105,6 +4109,7 @@ def test_polars_to_tree_different_root_error():
41054109 )
41064110
41074111
4112+ @unittest .skipIf (sys .version_info <= (3 , 7 ), "polars not supported" )
41084113class TestPolarsToTreeByRelation (unittest .TestCase ):
41094114 def setUp (self ):
41104115 self .relation_data = pl .DataFrame (
Original file line number Diff line number Diff line change 1+ import sys
2+ import unittest
3+
14import pandas as pd
25import polars as pl
36import pytest
@@ -866,6 +869,7 @@ def test_tree_to_dataframe_to_tree(tree_node):
866869 assert_tree_structure_node_root (tree )
867870
868871
872+ @unittest .skipIf (sys .version_info <= (3 , 7 ), "polars not supported" )
869873class TestTreeToPolars :
870874 @staticmethod
871875 def test_tree_to_polars (tree_node ):
You can’t perform that action at this time.
0 commit comments