Skip to content

Commit

Permalink
fixup! WIP: Start backporting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pganssle committed May 20, 2024
1 parent 8c3121c commit fbbeff4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_tzfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ def test_tzpath_setting(tmp_path):
"""Ensure that setting tz.TZPATH changes where `tz.gettz` searches."""
if six.PY2:
tmp_path = str(tmp_path)

with set_tzpath([tmp_path]):
_copy_resource_to(
"liliput_tzif", os.path.join(tmp_path, "Fictional", "Liliput")
Expand Down

0 comments on commit fbbeff4

Please sign in to comment.