summaryrefslogtreecommitdiff
path: root/sci-libs/shapely/files/shapely-1.6.4_p2-test_operations.patch
blob: a9213a333765835b01578e2aa12baa69c12ad717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)