Skip to content

Commit

Permalink
Add missing return types to pointcloud tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lossyrob authored and l0b0 committed May 24, 2021
1 parent 09e2b79 commit 2cd0a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/extensions/test_pointcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def test_statistics_accessor_when_no_stats(self) -> None:
pc_item = pystac.Item.from_file(self.example_uri_no_statistics)
self.assertEqual(PointcloudExtension.ext(pc_item).statistics, None)

def test_asset_extension(self):
def test_asset_extension(self) -> None:
asset = Asset(
"https://github.com/PDAL/PDAL/blob"
"/a6c986f68458e92414a66c664408bee4737bbb08/test/data/laz"
Expand All @@ -273,7 +273,7 @@ def test_asset_extension(self):
self.assertEqual(ext.properties, asset.properties)
self.assertEqual(ext.additional_read_properties, [pc_item.properties])

def test_ext(self):
def test_ext(self) -> None:
pc_item = pystac.Item.from_file(self.example_uri_no_statistics)
PointcloudExtension.ext(pc_item)
asset = Asset(
Expand Down

0 comments on commit 2cd0a8c

Please sign in to comment.