summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2020-10-11 22:26:53 +0200
committerDennis Lamm <expeditioneer@gentoo.org>2020-10-12 20:59:26 +0200
commitf15208d661780f73287e71d2f22b3b4f5f699bf1 (patch)
tree1eebde1317f1ec336bf575641516b4c68dbdec9e /sci-libs/shapely/files
parentsci-libs/shapely: switched maintainership (diff)
downloadgentoo-f15208d661780f73287e71d2f22b3b4f5f699bf1.tar.gz
gentoo-f15208d661780f73287e71d2f22b3b4f5f699bf1.tar.bz2
gentoo-f15208d661780f73287e71d2f22b3b4f5f699bf1.zip
sci-libs/shapely: moved from sci-libs/Shapely
Signed-off-by: Dennis Lamm <expeditoneer@gentoo.org> Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'sci-libs/shapely/files')
-rw-r--r--sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch b/sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch
new file mode 100644
index 000000000000..a9213a333765
--- /dev/null
+++ b/sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch
@@ -0,0 +1,17 @@
+Description: Mark test_operations as xfail.
+ # Intersection
+ > self.assertIsInstance(point.intersection(Point(-1, -1)),
+ GeometryCollection)
+ E AssertionError: <shapely.geometry.point.Point object at 0xffffb6e2c250> is not an instance of <class 'shapely.geometry.collection.GeometryCollection'>
+Author: Bas Couwenberg <sebastic@debian.org>
+
+--- a/tests/test_operations.py
++++ b/tests/test_operations.py
+@@ -7,6 +7,7 @@ from shapely.geos import TopologicalErro
+
+ class OperationsTestCase(unittest.TestCase):
+
++ @pytest.mark.xfail(reason="Intersection: Point is not an instance of GeometryCollection")
+ def test_operations(self):
+ point = Point(0.0, 0.0)
+