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.
1 parent 3f6f6f9 commit ec36ab3Copy full SHA for ec36ab3
tests/serialization/test_identify.py
@@ -1,5 +1,4 @@
1
import unittest
2
-from urllib.error import HTTPError
3
4
import pystac
5
from pystac.cache import CollectionCache
@@ -24,12 +23,9 @@ def test_identify(self) -> None:
24
23
path = example.path
25
d = pystac.StacIO.default().read_json(path)
26
if identify_stac_object_type(d) == pystac.STACObjectType.ITEM:
27
- try:
28
- merge_common_properties(
29
- d, json_href=path, collection_cache=collection_cache
30
- )
31
- except HTTPError:
32
- pass
+ merge_common_properties(
+ d, json_href=path, collection_cache=collection_cache
+ )
33
34
actual = identify_stac_object(d)
35
# Explicitly cover __repr__ functions in tests
0 commit comments