def __init__(self, polygons=None, context_type='polygons'):
        super(MultiPolygon, self).__init__()

        if not polygons:
            # allow creation of empty multipolygons, to support unpickling
            pass
        elif context_type == 'polygons':
            self._geom, self._ndim = geos_multipolygon_from_polygons(polygons)
        elif context_type == 'geojson':
            self._geom, self._ndim = geos_multipolygon_from_py(polygons)
Get mock.patch string argument regexp.
dataset/ETHPy150Open Toblerity/Shapely/shapely/geometry/multipolygon.py/MultiPolygon.__init__--crossover with--dataset/ETHPy150Open openstack/rally/tests/unit/test_mock.py/FuncMockArgsDecoratorsChecker._get_value