浏览代码

temporal: Fixed mapset name doctest

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61432 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 10 年之前
父节点
当前提交
74ef67c6ce
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/python/temporal/c_libraries_interface.py

+ 2 - 2
lib/python/temporal/c_libraries_interface.py

@@ -684,8 +684,8 @@ class CLibrariesInterface(object):
        # Check mapsets
        >>> ciface = tgis.CLibrariesInterface()
        >>> mapsets = ciface.available_mapsets()
-       >>> print mapsets[0]
-       PERMANENT
+       >>> mapsets[0] == tgis.get_current_mapset()
+       True
        
        # Raster map
        >>> ciface = tgis.CLibrariesInterface()