Opened 4 years ago

Closed 4 years ago

#31192 closed Uncategorized (duplicate)

gis_tests.geoapp.test_functions.GISFunctionsTests.test_geometry_distance fails with recent PROJ versions

Reported by: Sergey Fedoseev Owned by: nobody
Component: GIS Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no 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 (1)

comment:1 by Mariusz Felisiak, 4 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #31195.

Note: See TracTickets for help on using tickets.
Back to Top