gis_lib_env_test

./lib/gis – gis_lib_env_test

Test failed

Testgis_lib_env_test
Testsuite./lib/gis
Test file./lib/gis/testsuite/gis_lib_env_test.py
StatusFAILED
Return code1
Number of tests3
Successful tests0
Failed tests3
Percent successful0%
Test duration0:00:01.000738

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:803: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
EEE
======================================================================
ERROR: test_gisrc (__main__.GisLibraryTestEnv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/gis/testsuite/gis_lib_env_test.py", line 24, in test_gisrc
    libgis.G__setenv("TEST", "B");
AttributeError: 'module' object has no attribute 'G__setenv'

======================================================================
ERROR: test_mapset (__main__.GisLibraryTestEnv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/gis/testsuite/gis_lib_env_test.py", line 61, in test_mapset
    libgis.G__setenv2("TEST", "D", libgis.G_VAR_MAPSET);
AttributeError: 'module' object has no attribute 'G__setenv2'

======================================================================
ERROR: test_switch_env (__main__.GisLibraryTestEnv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/gis/testsuite/gis_lib_env_test.py", line 38, in test_switch_env
    libgis.G__setenv("TEST", "SWITCH");
AttributeError: 'module' object has no attribute 'G__setenv'

----------------------------------------------------------------------
Ran 3 tests in 0.002s
FAILED (errors=3)