mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-12 12:20:25 +08:00
TST: fix explore() tests for change in CartoDB max zoom level in latest xyzservices (#2192)
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ dependencies:
|
||||
# dev versions of packages
|
||||
- git+https://github.com/numpy/numpy.git@main
|
||||
- git+https://github.com/pydata/pandas.git@master
|
||||
- git+https://github.com/matplotlib/matplotlib.git@master
|
||||
- git+https://github.com/matplotlib/matplotlib.git@main
|
||||
- git+https://github.com/Toblerity/Shapely.git@master
|
||||
- git+https://github.com/pygeos/pygeos.git@master
|
||||
- git+https://github.com/python-visualization/folium.git@master
|
||||
|
||||
@@ -608,7 +608,7 @@ class TestExplore:
|
||||
'attribution":"\\u0026copy;\\u003cahref=\\"https://www.openstreetmap.org'
|
||||
in out_str
|
||||
)
|
||||
assert '"maxNativeZoom":19,"maxZoom":19,"minZoom":0' in out_str
|
||||
assert '"maxNativeZoom":20,"maxZoom":20,"minZoom":0' in out_str
|
||||
|
||||
def test_xyzservices_query_name(self):
|
||||
pytest.importorskip("xyzservices")
|
||||
@@ -624,7 +624,7 @@ class TestExplore:
|
||||
'attribution":"\\u0026copy;\\u003cahref=\\"https://www.openstreetmap.org'
|
||||
in out_str
|
||||
)
|
||||
assert '"maxNativeZoom":19,"maxZoom":19,"minZoom":0' in out_str
|
||||
assert '"maxNativeZoom":20,"maxZoom":20,"minZoom":0' in out_str
|
||||
|
||||
def test_linearrings(self):
|
||||
rings = self.nybb.explode(index_parts=True).exterior
|
||||
|
||||
Reference in New Issue
Block a user