Falko Schindler 6 tháng trước cách đây
mục cha
commit
42d9ef3049
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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({