TST: fix from_shapely test for numpy 1.20 (pygeos/pygeos#278)
@@ -29,7 +29,7 @@ class ShapelyGeometryMock:
def __array_interface__(self):
# this should not be called
# (starting with numpy 1.20 it is called, but not used)
- raise None
+ return np.array([1., 2.]).__array_interface__
def test_from_wkt():
