mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-13 12:30:29 +08:00
PY3: Use string.ascii_lowercase for compatibility and locale independence
This commit is contained in:
@@ -126,7 +126,7 @@ class TestGeomMethods(unittest.TestCase):
|
||||
"""
|
||||
def _make_gdf(s):
|
||||
n = len(s)
|
||||
col1 = string.lowercase[:n]
|
||||
col1 = string.ascii_lowercase[:n]
|
||||
col2 = range(n)
|
||||
|
||||
return GeoDataFrame({'geometry': s.values,
|
||||
|
||||
Reference in New Issue
Block a user