From aa35acfb6cc4153b2e0a6a522cb5bc8a8c57dd26 Mon Sep 17 00:00:00 2001 From: dangotbanned <125183946+dangotbanned@users.noreply.github.com> Date: Thu, 30 May 2024 17:41:41 +0100 Subject: [PATCH] test: Skip tests on Win that require a tz database See [arrow PR](https://github.com/apache/arrow/pull/36996) --- tests/utils/test_utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/utils/test_utils.py b/tests/utils/test_utils.py index 9cf5bda37..aa49e9369 100644 --- a/tests/utils/test_utils.py +++ b/tests/utils/test_utils.py @@ -1,7 +1,7 @@ import io import json import warnings - +import sys import numpy as np import pandas as pd import pytest @@ -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(