mirror of
https://github.com/django/django.git
synced 2025-06-15 16:39:13 +00:00
Fix geos doctest issues
This commit is contained in:
parent
b02f65e40f
commit
925ab54f59
@ -1184,13 +1184,13 @@ include the SRID value (in other words, EWKB).
|
|||||||
>>> print(wkt_w.precision)
|
>>> print(wkt_w.precision)
|
||||||
None
|
None
|
||||||
>>> wkt_w.write(pnt)
|
>>> wkt_w.write(pnt)
|
||||||
'POINT (1.4399999999999999 1.6599999999999999)'
|
b'POINT (1.4399999999999999 1.6599999999999999)'
|
||||||
>>> wkt_w.precision = 0
|
>>> wkt_w.precision = 0
|
||||||
>>> wkt_w.write(pnt)
|
>>> wkt_w.write(pnt)
|
||||||
'POINT (1 2)'
|
b'POINT (1 2)'
|
||||||
>>> wkt_w.precision = 1
|
>>> wkt_w.precision = 1
|
||||||
>>> wkt_w.write(pnt)
|
>>> wkt_w.write(pnt)
|
||||||
'POINT (1.4 1.7)'
|
b'POINT (1.4 1.7)'
|
||||||
|
|
||||||
.. rubric:: Footnotes
|
.. rubric:: Footnotes
|
||||||
.. [#fnogc] *See* `PostGIS EWKB, EWKT and Canonical Forms <https://postgis.net/docs/using_postgis_dbmanagement.html#EWKB_EWKT>`_, PostGIS documentation at Ch. 4.1.2.
|
.. [#fnogc] *See* `PostGIS EWKB, EWKT and Canonical Forms <https://postgis.net/docs/using_postgis_dbmanagement.html#EWKB_EWKT>`_, PostGIS documentation at Ch. 4.1.2.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user