From 925ab54f5956c42504954bfff982e029c5afeb91 Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Wed, 27 Nov 2024 21:18:17 +0100 Subject: [PATCH] Fix geos doctest issues --- docs/ref/contrib/gis/geos.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index b3825e09c4..ef3af5ef34 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -1184,13 +1184,13 @@ include the SRID value (in other words, EWKB). >>> print(wkt_w.precision) None >>> wkt_w.write(pnt) - 'POINT (1.4399999999999999 1.6599999999999999)' + b'POINT (1.4399999999999999 1.6599999999999999)' >>> wkt_w.precision = 0 >>> wkt_w.write(pnt) - 'POINT (1 2)' + b'POINT (1 2)' >>> wkt_w.precision = 1 >>> wkt_w.write(pnt) - 'POINT (1.4 1.7)' + b'POINT (1.4 1.7)' .. rubric:: Footnotes .. [#fnogc] *See* `PostGIS EWKB, EWKT and Canonical Forms `_, PostGIS documentation at Ch. 4.1.2.