Skip to content

Commit

Permalink
Merge pull request #25 from pganssle/immutable_constants
Browse files Browse the repository at this point in the history
Use immutable containers for test constants
  • Loading branch information
pganssle committed Jun 18, 2020
2 parents 4d65efa + fa5c3a7 commit 47bd4bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/_common.py
Expand Up @@ -26,8 +26,8 @@ def _(f):
ZERO = timedelta(0)
UTC = pds._compat.UTC

VALID_ZONES = sorted(pytz.all_timezones)
VALID_ZONE_SET = set(VALID_ZONES)
VALID_ZONES = tuple(sorted(pytz.all_timezones))
VALID_ZONE_SET = frozenset(VALID_ZONES)

# There will be known inconsistencies between pytz and the other libraries
# right around the EPOCHALYPSE, because V1 files use 32-bit integers, and
Expand Down

0 comments on commit 47bd4bd

Please sign in to comment.