#31195 closed Cleanup/optimization (fixed)
gis_tests.geoapp.test_functions.GISFunctionsTests.test_geometry_distance fails with recent PROJ versions.
Reported by: | Sergey Fedoseev | Owned by: | Sergey Fedoseev |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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
Change History (4)
comment:1 by , 5 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 5 years ago
Summary: | gis_tests.geoapp.test_functions.GISFunctionsTests.test_geometry_distance fails with recent PROJ versions → gis_tests.geoapp.test_functions.GISFunctionsTests.test_geometry_distance fails with recent PROJ versions. |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Cleanup/optimization |
Note:
See TracTickets
for help on using tickets.
PR