#31569: Add support for GEOS 3.8.
--------------------------------------+------------------------------------
Reporter: felixxm | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by felixxm):
* cc: Nick Pope, Sergey Fedoseev (added)
* owner: felixxm => (none)
* version: 3.0 => master
* status: assigned => new
Old description:
New description:
Two tests fail with GEOS 3.8.1:
{{{
======================================================================
FAIL: test_diff_intersection_union
(gis_tests.geoapp.test_functions.GISFunctionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.6/unittest/case.py", line 605, in run
testMethod()
File "/repo/django/django/test/testcases.py", line 1215, in skip_wrapper
return test_func(*args, **kwargs)
File "/repo/django/tests/gis_tests/geoapp/test_functions.py", line 569,
in test_diff_intersection_union
self.assertEqual(c.mpoly.intersection(geom), c.intersection)
File "/usr/lib/python3.6/unittest/case.py", line 829, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python3.6/unittest/case.py", line 822, in
_baseAssertEqual
raise self.failureException(msg)
AssertionError: <Point object at 0x7f614c615230> != <GeometryCollection
object at 0x7f614c61e098>
======================================================================
FAIL: test_intersection
(gis_tests.geoapp.test_functions.GISFunctionsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.6/unittest/case.py", line 605, in run
testMethod()
File "/repo/django/django/test/testcases.py", line 1215, in skip_wrapper
return test_func(*args, **kwargs)
File "/repo/django/tests/gis_tests/geoapp/test_functions.py", line 299,
in test_intersection
self.assertEqual(c.inter, expected)
File "/usr/lib/python3.6/unittest/case.py", line 829, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python3.6/unittest/case.py", line 822, in
_baseAssertEqual
raise self.failureException(msg)
AssertionError: <GeometryCollection object at 0x7f614c61ea28> != <Point
object at 0x7f614c61e560>
}}}
--
--
Ticket URL: <https://code.djangoproject.com/ticket/31569#comment:1>
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/065.a272976b25f883f2fd20ca95fd9cf0fc%40djangoproject.com.