Falko Schindler 6 月之前
父節點
當前提交
42d9ef3049
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tests/test_aggrid.py
  2. 1 1
      tests/test_table.py

+ 1 - 1
tests/test_aggrid.py

@@ -193,7 +193,7 @@ def test_api_method_after_creation(screen: Screen):
 
 
 @pytest.mark.parametrize('df_type', ['pandas', 'polars'])
-@pytest.mark.skipif(sys.version_info[:3] == (3, 8), reason='Skipping test for Python 3.8')
+@pytest.mark.skipif(sys.version_info[:2] == (3, 8), reason='Skipping test for Python 3.8')
 def test_problematic_datatypes(screen: Screen, df_type: str):
     if df_type == 'pandas':
         df = pd.DataFrame({

+ 1 - 1
tests/test_table.py

@@ -201,7 +201,7 @@ def test_create_and_update_from_df(screen: Screen, df_type: str):
 
 
 @pytest.mark.parametrize('df_type', ['pandas', 'polars'])
-@pytest.mark.skipif(sys.version_info[:3] == (3, 8), reason='Skipping test for Python 3.8')
+@pytest.mark.skipif(sys.version_info[:2] == (3, 8), reason='Skipping test for Python 3.8')
 def test_problematic_datatypes(screen: Screen, df_type: str):
     if df_type == 'pandas':
         df = pd.DataFrame({