Skip to content

Commit

Permalink
remove separate pytest skips as we have a module wide one
Browse files Browse the repository at this point in the history
Signed-off-by: tdhooghe <[email protected]>
  • Loading branch information
tdhooghe committed Oct 22, 2024
1 parent 80f7765 commit ba0a030
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions kedro-datasets/tests/snowflake/test_snowpark_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@


@pytest.fixture(scope="module")
@pytest.mark.skipif(
sys.version_info > (3, 11),
reason="Snowpark is not supported in Python versions higher than 3.11",
)
def local_snowpark_session() -> Session:
"""
Creates a local Snowflake session for testing purposes.
Expand All @@ -52,10 +48,6 @@ def local_snowpark_session() -> Session:


@pytest.fixture(scope="module")
@pytest.mark.skipif(
sys.version_info > (3, 11),
reason="Snowpark is not supported in Python versions higher than 3.11",
)
def snowflake_dataset(local_snowpark_session: Session) -> SnowparkTableDataset:
"""
Provides a SnowparkTableDataset fixture for testing.
Expand All @@ -75,10 +67,6 @@ def snowflake_dataset(local_snowpark_session: Session) -> SnowparkTableDataset:


@pytest.fixture(scope="module")
@pytest.mark.skipif(
sys.version_info > (3, 11),
reason="Snowpark is not supported in Python versions higher than 3.11",
)
def sample_sp_df(local_snowpark_session: Session) -> DataFrame:
"""
Creates a sample Snowpark DataFrame for testing.
Expand Down Expand Up @@ -119,10 +107,6 @@ def sample_sp_df(local_snowpark_session: Session) -> DataFrame:


@pytest.fixture(scope="module")
@pytest.mark.skipif(
sys.version_info > (3, 11),
reason="Snowpark is not supported in Python versions higher than 3.11",
)
def sample_pd_df() -> pd.DataFrame:
"""
Creates a sample Pandas DataFrame for testing.
Expand All @@ -144,10 +128,6 @@ def sample_pd_df() -> pd.DataFrame:
)


@pytest.mark.skipif(
sys.version_info > (3, 11),
reason="Snowpark is not supported in Python versions higher than 3.11",
)
class TestSnowparkTableDataset:
"""Tests for the SnowparkTableDataset functionality."""

Expand Down

0 comments on commit ba0a030

Please sign in to comment.