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
  • Loading branch information
dangotbanned committed Jun 5, 2024
1 parent a3fd77a commit b6190f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/utils/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import io
import json
import sys
import warnings

import numpy as np
Expand Down Expand Up @@ -121,7 +122,10 @@ def test_sanitize_dataframe_arrow_columns():


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

0 comments on commit b6190f2

Please sign in to comment.