#31192: gis_tests.geoapp.test_functions.GISFunctionsTests.test_geometry_distance
fails with recent PROJ versions
-------------------------------------------+------------------------
               Reporter:  Sergey Fedoseev  |          Owner:  nobody
                   Type:  Uncategorized    |         Status:  new
              Component:  GIS              |        Version:  master
               Severity:  Normal           |       Keywords:
           Triage Stage:  Unreviewed       |      Has patch:  0
    Needs documentation:  0                |    Needs tests:  0
Patch needs improvement:  0                |  Easy pickings:  0
                  UI/UX:  0                |
-------------------------------------------+------------------------
 `gis_tests.geoapp.test_functions.GISFunctionsTests.test_geometry_distance
 fails` with recent PROJ versions (tested with PROJ 5.3.0 and 6.3.0).

 Can be reproduced on django-docker-box:

 {{{
 $ DJANGO_PATH=~/dev/django POSTGRES_VERSION=12 POSTGIS_VERSION=2.5 docker-
 compose run --rm postgres-gis
 gis_tests.geoapp.test_functions.GISFunctionsTests.test_geometry_distance

 ======================================================================
 FAIL [0.015s]: test_geometry_distance
 (gis_tests.geoapp.test_functions.GISFunctionsTests)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/tests/django/django/test/testcases.py", line 1206, in
 skip_wrapper
     return test_func(*args, **kwargs)
   File "/tests/django/tests/gis_tests/geoapp/test_functions.py", line 283,
 in test_geometry_distance
     276.987855073372,
 AssertionError: Lists differ: [2.9909199552729575, 5.335072740547128,
 9.338521874837209[93 chars]3723] != [2.99091995527296, 5.33507274054713,
 9.33852187483721, 9.[80 chars]3372]

 First differing element 0:
 2.9909199552729575
 2.99091995527296

 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31192>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.0a425894577b61aed1079fd3ae1f1017%40djangoproject.com.

Reply via email to