Skip to content

Commit a2c018b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d98266a commit a2c018b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

geojson_aoi/_async/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ async def parse_aoi_async(
210210
feature.pop("properties", None)
211211

212212
# TODO: Parser breaks when properties and result.featcol['features'] arent't equal
213-
#print(f"Properties: {len(properties)}\n Results: {len(result.featcol['features'])}")
213+
# print(f"Properties: {len(properties)}\n Results: {len(result.featcol['features'])}")
214214

215215
# Restore saved properties.
216216
if properties:

tests/_async/test_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import warnings
55

66
import pytest
7-
import pytest_asyncio
87

98
from geojson_aoi._async.parser import parse_aoi_async
109

@@ -320,8 +319,10 @@ async def test_featurecollection_mixed_geoms(db, featurecollection_mixed_geoms):
320319
],
321320
}
322321

322+
323323
# TODO: Add test case for FeatureCollection with a mix of features with properties
324324

325+
325326
async def test_invalid_input(db):
326327
"""Invalud input for parse_aoi_async function."""
327328
with pytest.raises(

0 commit comments

Comments
 (0)