Skip to content

Commit

Permalink
TST: Remove assertions that no longer hold for set_geometry()
Browse files Browse the repository at this point in the history
  • Loading branch information
kjordahl committed Jun 9, 2016
1 parent 09fbf75 commit e90110d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions geopandas/tests/test_geodataframe.py
Expand Up @@ -55,16 +55,12 @@ def test_different_geo_colname(self):

geom2 = [Point(x, y) for x, y in zip(range(5, 10), range(5))]
df2 = df.set_geometry(geom2, crs='dummy_crs')
self.assert_('geometry' in df2)
self.assert_('location' in df2)
self.assertEqual(df2.crs, 'dummy_crs')
self.assertEqual(df2.geometry.crs, 'dummy_crs')
# reset so it outputs okay
df2.crs = df.crs
assert_geoseries_equal(df2.geometry, GeoSeries(geom2, crs=df2.crs))
# for right now, non-geometry comes back as series
assert_geoseries_equal(df2['location'], df['location'],
check_series_type=False, check_dtype=False)

def test_geo_getitem(self):
data = {"A": range(5), "B": range(-5, 0),
Expand Down

0 comments on commit e90110d

Please sign in to comment.