Skip to content

Commit

Permalink
Incorporate code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ffe4 committed Apr 13, 2020
1 parent df29e69 commit 0fd95ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dateutil/test/property/test_tz_prop.py
Expand Up @@ -13,7 +13,7 @@

@pytest.mark.gettz
@pytest.mark.parametrize("gettz_arg", [None, ""])
# TODO: Remove max_value when GH #590 is resolved
# TODO: Remove bounds when GH #590 is resolved
@given(
dt=st.datetimes(
min_value=NEGATIVE_EPOCHALYPSE, max_value=EPOCHALYPSE, timezones=st.just(tz.UTC),
Expand Down
2 changes: 1 addition & 1 deletion dateutil/tz/tz.py
Expand Up @@ -1596,7 +1596,7 @@ def nocache(name=None):
name = os.environ["TZ"]
except KeyError:
pass
if not name or name == ":":
if name is None or name in ("", ":"):
for filepath in TZFILES:
if not os.path.isabs(filepath):
filename = filepath
Expand Down

0 comments on commit 0fd95ac

Please sign in to comment.