Skip to content

Commit

Permalink
tests: don't assert pytz.timezone returns a StaticTzInfo
Browse files Browse the repository at this point in the history
Also the test before asserts the same thing is a pytz.tzfile.DstTzInfo
  • Loading branch information
xrmx committed Aug 17, 2017
1 parent d21aeca commit dd694fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/types/test_timezone.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def test_can_coerce_pytz_DstTzInfo():
def test_can_coerce_pytz_StaticTzInfo():
tzcol = TimezoneType(backend='pytz')
tz = pytz.timezone('Pacific/Truk')
assert isinstance(tz, pytz.tzfile.StaticTzInfo)
assert tzcol._coerce(tz) is tz


Expand Down

0 comments on commit dd694fe

Please sign in to comment.