Remove test - from 0.20.0 PR slipped in

This commit is contained in:
Joris Van den Bossche 2016-12-24 03:50:00 +01:00
parent 5110eaf1b7
commit 2c7e79d709
1 changed files with 0 additions and 17 deletions

View File

@ -909,23 +909,6 @@ class TestSeriesInterpolateData(TestData, tm.TestCase):
with tm.assertRaises(ValueError):
s.interpolate(method='spline', order=0)
def test_interp_timedelta64(self):
# GH 6424
df = Series([1, np.nan, 3],
index=pd.to_timedelta([1, 2, 3]))
result = df.interpolate(method='time')
expected = Series([1., 2., 3.],
index=pd.to_timedelta([1, 2, 3]))
assert_series_equal(result, expected)
# test for non uniform spacing
df = Series([1, np.nan, 3],
index=pd.to_timedelta([1, 2, 4]))
result = df.interpolate(method='time')
expected = Series([1., 1.666667, 3.],
index=pd.to_timedelta([1, 2, 4]))
assert_series_equal(result, expected)
if __name__ == '__main__':
import nose