Skip to content

Commit

Permalink
autotest/ogr/ogr_feature.py: fix dialect names
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Dec 29, 2023
1 parent abd6620 commit 702a0c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autotest/ogr/ogr_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,9 @@ def test_ogr_feature_native_data():
lyr.CreateFeature(f)
f = None

dialects = ["OGR_SQL"]
dialects = ["OGRSQL"]
if gdal.GetDriverByName("SQLITE") is not None:
dialects += ["OGR_SQLITE"]
dialects += ["SQLITE"]
for dialect in dialects:
sql_lyr = ds.ExecuteSQL("SELECT * FROM %s" % lyr.GetName(), dialect=dialect)
native_data = sql_lyr.GetMetadataItem("NATIVE_DATA", "NATIVE_DATA")
Expand Down

0 comments on commit 702a0c5

Please sign in to comment.