From 8ca8a85e5b021789738653eec2cf9cd44544c7c0 Mon Sep 17 00:00:00 2001 From: Kelsey Jordahl Date: Tue, 20 Aug 2013 19:08:34 -0400 Subject: [PATCH] TST: Skip tests for methods not yet implemented in GeoPandas --- tests/test_types.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_types.py b/tests/test_types.py index 8d5ccc0..3c7e52b 100644 --- a/tests/test_types.py +++ b/tests/test_types.py @@ -26,12 +26,13 @@ class TestSeries(unittest.TestCase): assert type(self.pts.sort_index()) is GeoSeries def test_sort_order(self): - """It's not clear this would be meaningful for GeoSeries""" assert type(self.pts.order()) is GeoSeries + @unittest.skip('not yet implemented') def test_loc(self): assert type(self.pts.loc[5:]) is GeoSeries + @unittest.skip('not yet implemented') def test_iloc(self): assert type(self.pts.iloc[5:]) is GeoSeries @@ -43,9 +44,9 @@ class TestSeries(unittest.TestCase): assert type(self.pts.take(range(0, self.N, 2))) is GeoSeries def test_select(self): - # this method is actually entirely broken assert type(self.pts.select(lambda x: x % 2 == 0)) is GeoSeries + @unittest.skip('not yet implemented') def test_groupby(self): for f, s in self.pts.groupby(lambda x: x % 2): assert type(s) is GeoSeries