Skip to content

Commit

Permalink
Improve spelling of the type check.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice authored Sep 17, 2024
1 parent 250133b commit ecbaed1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/cuspatial/cuspatial/tests/test_geodataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ def assert_eq_multipolygon(p1, p2):


def assert_eq_geo_df(geo1, geo2):
if type(geo1) is not type(geo2):
raise TypeError
assert type(geo1) is type(geo2)
assert geo1.columns.equals(geo2.columns)
for col in geo1.columns:
if geo1[col].dtype == "geometry":
Expand Down

0 comments on commit ecbaed1

Please sign in to comment.