diff --git a/tests/test_collection.py b/tests/test_collection.py index f59cc07ba..1daf673c6 100644 --- a/tests/test_collection.py +++ b/tests/test_collection.py @@ -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()