Skip to content

Commit

Permalink
Fix failing dateutil test (pandas-dev#22354)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored and jreback committed Aug 16, 2018
1 parent 86e8f23 commit 6bcfc46
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pandas/tests/series/test_datetime_values.py
Expand Up @@ -15,8 +15,7 @@
date_range, period_range, timedelta_range,
PeriodIndex, DatetimeIndex, TimedeltaIndex)
import pandas.core.common as com

import dateutil
from pandas._libs.tslibs.timezones import maybe_get_tz

from pandas.util.testing import assert_series_equal
import pandas.util.testing as tm
Expand Down Expand Up @@ -464,10 +463,7 @@ def test_datetime_understood(self):

def test_dt_timetz_accessor(self, tz_naive_fixture):
# GH21358
if tz_naive_fixture is not None:
tz = dateutil.tz.gettz(tz_naive_fixture)
else:
tz = None
tz = maybe_get_tz(tz_naive_fixture)

dtindex = pd.DatetimeIndex(['2014-04-04 23:56', '2014-07-18 21:24',
'2015-11-22 22:14'], tz=tz)
Expand Down

0 comments on commit 6bcfc46

Please sign in to comment.