We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4fe4cd + 9b040f1 commit 0d3035cCopy full SHA for 0d3035c
tests/test_item.py
@@ -191,8 +191,7 @@ def test_null_geometry(self) -> None:
191
192
item_dict = item.to_dict()
193
self.assertIsNone(item_dict["geometry"])
194
- with self.assertRaises(KeyError):
195
- item_dict["bbox"]
+ self.assertNotIn("bbox", item_dict)
196
197
def test_0_9_item_with_no_extensions_does_not_read_collection_data(self) -> None:
198
item_json = pystac.StacIO.default().read_json(
0 commit comments