Skip to content

Commit

Permalink
Make distinction even more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
amoeba committed Feb 7, 2025
1 parent 5e9e76d commit dd39e97
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions python/pyarrow/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dd39e97

Please sign in to comment.