Skip to content

Commit

Permalink
fix, tests: use isinstance
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Aug 9, 2023
1 parent 61c2302 commit c5b2d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_spatial_extent_from_coordinates(self) -> None:
bbox = extent.bboxes[0]
self.assertEqual(len(bbox), 4)
for x in bbox:
self.assertTrue(type(x) is float)
self.assertTrue(isinstance(x, float))

def test_read_eo_items_are_heritable(self) -> None:
cat = TestCases.case_5()
Expand Down

0 comments on commit c5b2d65

Please sign in to comment.