Skip to content

Commit

Permalink
test: Skip tests on Win that require a tz database
Browse files Browse the repository at this point in the history
See [arrow PR](apache/arrow#36996)
  • Loading branch information
dangotbanned committed May 30, 2024
1 parent 8df67e1 commit aa35acf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/utils/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import io
import json
import warnings

import sys
import numpy as np
import pandas as pd
import pytest
Expand Down Expand Up @@ -121,6 +121,9 @@ def test_sanitize_dataframe_arrow_columns():


@pytest.mark.skipif(pa is None, reason="pyarrow not installed")
@pytest.mark.skipif(
sys.platform == "win32", reason="Timezone database is not installed on Windows"
)
def test_sanitize_pyarrow_table_columns():
# create a dataframe with various types
df = pd.DataFrame(
Expand Down

0 comments on commit aa35acf

Please sign in to comment.