Skip to content

Commit

Permalink
bye bye py2
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Jan 11, 2019
1 parent 90afdee commit 6633344
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/tests/indexes/datetimes/test_construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import pandas as pd
from pandas import (
DatetimeIndex, Index, Timestamp, date_range, datetime, offsets,
DatetimeIndex, Index, Timestamp, compat, date_range, datetime, offsets,
to_datetime)
from pandas.core.arrays import DatetimeArray, period_array
import pandas.util.testing as tm
Expand Down Expand Up @@ -581,6 +581,7 @@ def test_constructor_timestamp_near_dst(self):
@pytest.mark.parametrize('tz, dtype', [
pytest.param('US/Pacific', 'datetime64[ns, US/Pacific]',
marks=[pytest.mark.xfail(),
pytest.mark.skipif(compat.PY2, reason="warn"),
pytest.mark.filterwarnings(
"ignore:\\n Passing:FutureWarning")]),
[None, 'datetime64[ns]'],
Expand Down

0 comments on commit 6633344

Please sign in to comment.