Skip to content

Commit

Permalink
autotest: fix 'DeprecationWarning: 'count' is passed as positional ar…
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 5, 2025
1 parent a5f476e commit 7d3f08b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autotest/osr/osr_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ def test_osr_xml_2():
got = srs.ExportToXML()

# Strip the gml:id tags
got = re.sub(r' gml:id="[^"]*"', "", got, 0)
expected = re.sub(r' gml:id="[^"]*"', "", expected, 0)
got = re.sub(r' gml:id="[^"]*"', "", got)
expected = re.sub(r' gml:id="[^"]*"', "", expected)

assert got == expected

Expand Down

0 comments on commit 7d3f08b

Please sign in to comment.