From dd39e97d53254f7075c21b9e6581cbf8b6eed7b6 Mon Sep 17 00:00:00 2001 From: Bryce Mecum Date: Fri, 7 Feb 2025 14:21:49 -0800 Subject: [PATCH] Make distinction even more clear --- python/pyarrow/tests/conftest.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python/pyarrow/tests/conftest.py b/python/pyarrow/tests/conftest.py index 7500d9e93eb8d..53b54bb494da6 100644 --- a/python/pyarrow/tests/conftest.py +++ b/python/pyarrow/tests/conftest.py @@ -54,8 +54,13 @@ if tzdata_set_path: set_timezone_db_path(tzdata_set_path) - # GH-45295: For ORC, try to populate TZDIR env var from tzdata package - # resource path + +# GH-45295: For ORC, try to populate TZDIR env var from tzdata package resource +# path. +# +# Note this is a different kind of database than what we allow to be set by +# `PYARROW_TZDATA_PATH` and passed to set_timezone_db_path. +if sys.platform == 'win32': if os.environ.get('TZDIR', None) is None: from importlib import resources try: