Skip to content

Commit 0a51f7a

Browse files
committed
Add tests for old version of the extension
1 parent af05d17 commit 0a51f7a

File tree

4 files changed

+459
-4
lines changed

4 files changed

+459
-4
lines changed

pystac/extensions/projection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,10 @@ def epsg(self) -> int | None:
136136
"""
137137
if self.code is not None and self.code.startswith("EPSG:"):
138138
return int(self.code.replace("EPSG:", ""))
139-
return self._get_property(EPSG_PROP, int)
139+
return None
140140

141141
@epsg.setter
142142
def epsg(self, v: int | None) -> None:
143-
self._set_property(EPSG_PROP, None)
144143
if v is None:
145144
self.code = None
146145
else:

0 commit comments

Comments
 (0)