def test_dti_sub_int(self, tz, one):
    rng = pd.date_range('2000-01-01 09:00', freq='H', periods=10, tz=tz)
    result = (rng - one)
    expected = pd.date_range('2000-01-01 08:00', freq='H', periods=10, tz=tz)
    tm.assert_index_equal(result, expected)
def test_dti_sub_int(self, tz, one):
    rng = pd.date_range('2000-01-01 09:00', freq='H', periods=10, tz=tz)
    result = (rng - one)
    expected = pd.date_range('2000-01-01 08:00', freq='H', periods=10, tz=tz)
    tm.assert_index_equal(result, expected)