test_doctests stderr

etc/python/grass/lib/gis.py:797: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
Traceback (most recent call last):
  File "lib/python/pygrass/gis/testsuite/test_doctests.py", line 11, in <module>
    import grass.pygrass.gis as pgrass
  File "etc/python/grass/pygrass/gis/__init__.py", line 22, in <module>
    'icon': libgis.G_ELEMENT_ICON,
AttributeError: 'module' object has no attribute 'G_ELEMENT_ICON'