Skip to content

Commit

Permalink
Merge pull request #928 from koobs/patch-1
Browse files Browse the repository at this point in the history
Fix test_tzlocal_offset_equal[GMT-tzoff1]
  • Loading branch information
pganssle committed Nov 3, 2019
2 parents 3629d67 + 38a5cd8 commit 2e36ff7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/928.bugfix.rst
@@ -0,0 +1 @@
Fixed issue where ``test_tzlocal_offset_equal`` would fail in certain environments (such as FreeBSD) due to an invalid assumption about what time zone names are provided. Reported and fixed by Kubilay Kocak (gh issue #918, pr #928).
2 changes: 1 addition & 1 deletion dateutil/test/test_tz.py
Expand Up @@ -993,7 +993,7 @@ def test_tzlocal_local_time_trim_colon():
@mark_tzlocal_nix
@pytest.mark.parametrize('tzvar, tzoff', [
('EST5', tz.tzoffset('EST', -18000)),
('GMT', tz.tzoffset('GMT', 0)),
('GMT0', tz.tzoffset('GMT', 0)),
('YAKT-9', tz.tzoffset('YAKT', timedelta(hours=9))),
('JST-9', tz.tzoffset('JST', timedelta(hours=9))),
])
Expand Down

0 comments on commit 2e36ff7

Please sign in to comment.