From 0ff85f3f63420c4962e986c698672a679d8a6b4d Mon Sep 17 00:00:00 2001 From: Kelsey Jordahl Date: Wed, 30 Oct 2013 22:31:15 -0400 Subject: [PATCH] TST: fillna needs argument now, and takes method argument --- tests/test_geoseries.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_geoseries.py b/tests/test_geoseries.py index 5137b38..ba5ed62 100644 --- a/tests/test_geoseries.py +++ b/tests/test_geoseries.py @@ -240,11 +240,10 @@ class TestSeries(unittest.TestCase): self.landmarks.to_crs(crs=None, epsg=None) def test_fillna(self): - na = self.na_none.fillna() + na = self.na_none.fillna(Point()) self.assertTrue(isinstance(na[2], BaseGeometry)) self.assertTrue(na[2].is_empty) - with self.assertRaises(NotImplementedError): - self.na_none.fillna(method='backfill') + self.na_none.fillna(method='backfill') def test_interpolate(self): res = self.g5.interpolate(0.75, normalized=True)