Skip to content

Commit e2753cf

Browse files
authored
Fix spelling (#437)
1 parent af292e5 commit e2753cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyogrio/_io.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ def ogr_read(
12061206
fids = np.asarray(fids, dtype=np.intc)
12071207

12081208
if sql is not None and layer is not None:
1209-
raise ValueError("'sql' paramater cannot be combined with 'layer'")
1209+
raise ValueError("'sql' parameter cannot be combined with 'layer'")
12101210

12111211
if not (read_geometry or return_fids or columns is None or len(columns) > 0):
12121212
raise ValueError(
@@ -1467,7 +1467,7 @@ def ogr_open_arrow(
14671467
)
14681468

14691469
if sql is not None and layer is not None:
1470-
raise ValueError("'sql' paramater cannot be combined with 'layer'")
1470+
raise ValueError("'sql' parameter cannot be combined with 'layer'")
14711471

14721472
if not (read_geometry or return_fids or columns is None or len(columns) > 0):
14731473
raise ValueError(
@@ -2739,4 +2739,4 @@ cdef create_fields_from_arrow_schema(
27392739
f"Error while creating field from Arrow for field {i} with name "
27402740
f"'{get_string(child.name)}' and type {get_string(child.format)}"
27412741
f"{gdal_msg}."
2742-
)
2742+
)

pyogrio/tests/test_geopandas_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def test_read_sql_invalid(naturalearth_lowres_all_ext, use_arrow):
769769
)
770770

771771
with pytest.raises(
772-
ValueError, match="'sql' paramater cannot be combined with 'layer'"
772+
ValueError, match="'sql' parameter cannot be combined with 'layer'"
773773
):
774774
read_dataframe(
775775
naturalearth_lowres_all_ext,

0 commit comments

Comments
 (0)