Skip to content

Commit de09bd3

Browse files
committed
remove print statements
1 parent e24e26d commit de09bd3

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

pygeoapi/api/itemtypes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,6 @@ def get_collection_items(
615615
if offset > 0:
616616
prev_link = True
617617

618-
print(request.format)
619618
if prev_link:
620619
prev = max(0, offset - limit)
621620
url = f'{uri}?offset={prev}{serialized_query_params}'

tests/api/test_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,6 @@ def test_describe_collections(config, api_):
622622
collections = json.loads(response)
623623

624624
assert len(collections) == 2
625-
print(json.dumps(collections['collections']))
626625
assert len(collections['collections']) == 10
627626
assert len(collections['links']) == 3
628627

tests/other/test_ogr_capabilities.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# =================================================================
22
#
33
# Authors: Just van den Broecke <justb4@gmail.com>
4+
# Tom Kralidis <tomkralidis@gmail.com>
45
#
56
# Copyright (c) 2023 Just van den Broecke
7+
# Copyright (c) 2026 Tom Kralidis
68
#
79
# Permission is hereby granted, free of charge, to any person
810
# obtaining a copy of this software and associated documentation
@@ -50,7 +52,6 @@ def get_axis_order(coords):
5052
def test_transforms():
5153
version_num = int(gdal.VersionInfo('VERSION_NUM'))
5254
assert version_num > 3000000, f'GDAL version={version_num} must be > 3.0.0'
53-
print(f'GDAL Version num = {version_num}')
5455

5556
pyproj.show_versions()
5657
FORCE_LON_LAT = osr.OAMS_TRADITIONAL_GIS_ORDER
@@ -68,7 +69,6 @@ def test_transforms():
6869
}
6970

7071
for crs in CRS_DICT:
71-
print(f'Testing CRS={crs}')
7272
crs_entry = CRS_DICT[crs]
7373
source = get_spatial_ref(28992, AUTH_COMPLIANT)
7474
target = get_spatial_ref(crs_entry['epsg'], crs_entry['mapping'])
@@ -85,7 +85,6 @@ def test_transforms():
8585
axis_order = get_axis_order(result)
8686

8787
# Axis order should match that of CRS
88-
print(f'Transform result={result} Axis order={axis_order}')
8988
crs_axis_order = crs_entry['order']
9089
assert axis_order == crs_axis_order, f'Axis order for {crs} after Transform should be {crs_axis_order} result={result}' # noqa
9190

@@ -106,7 +105,6 @@ def test_transforms():
106105
# Determine Axis order after ExportToJson
107106
coords = json_feature['geometry']['coordinates']
108107
axis_order = get_axis_order(coords)
109-
print(f'ExportToJson result={coords} Axis order={axis_order}')
110108
assert axis_order == crs_axis_order, f'Axis order for {crs} after ExportToJson should be {crs_axis_order} coords={coords}' # noqa
111109

112110

0 commit comments

Comments
 (0)