test_doctests stderr

/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:14: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import multiarray
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:21: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import umath
/usr/lib/python2.7/dist-packages/numpy/random/__init__.py:99: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from .mtrand import *
etc/python/grass/pygrass/raster/history.py:12: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class History(object):
/usr/lib/python2.7/dist-packages/mx/DateTime/mxDateTime/__init__.py:9: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from mxDateTime import *
/usr/lib/python2.7/dist-packages/psycopg2/__init__.py:50: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
etc/python/grass/temporal/abstract_dataset.py:569: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyStartTime(object):
etc/python/grass/temporal/abstract_dataset.py:619: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyEndTime(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:10: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class weekday(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:41: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class relativedelta(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:48: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzutc(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:73: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzoffset(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:104: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzlocal(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:175: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class _ttinfo(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:215: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzfile(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:507: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzrange(datetime.tzinfo):
........Default TGIS driver / database set to:
driver: sqlite
database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db
WARNING: Temporal database connection defined as:
/grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__lib_python_temporal_test_doctests/tgis/sqlite.db
But database file does not exist.
Creating temporal database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__lib_python_temporal_test_doctests/tgis/sqlite.db
........ERROR: Ohh no no no!
WARNING: Needed to restart the messenger server
ERROR: Ohh no no no!
...etc/python/grass/temporal/datetime_math.py:820: DeprecationWarning: classic int division
  if tz.seconds > 86400 / 2:
etc/python/grass/temporal/datetime_math.py:823: DeprecationWarning: classic int division
  tz = tz.seconds/60
etc/python/grass/temporal/datetime_math.py:821: DeprecationWarning: classic int division
  tz = (tz.seconds - 86400) / 60
...WARNING: Needed to restart the messenger server
............FFF.............................................../usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
Generating LALR tables
Generating LALR tables
Generating LALR tables
Generating LALR tables
Generating LALR tables
Generating LALR tables
Generating LALR tables
Generating LALR tables
..........ERROR: Fatal Error in C library server
WARNING:root:Needed to restart the libgis server, caller: Server check thread
ERROR: Fatal Error in C library server
WARNING:root:Needed to restart the libgis server, caller: Server check thread
.
======================================================================
FAIL: SpaceTimeRaster3DDataset (grass.temporal.space_time_datasets)
Doctest: grass.temporal.space_time_datasets.SpaceTimeRaster3DDataset
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for grass.temporal.space_time_datasets.SpaceTimeRaster3DDataset
  File "etc/python/grass/temporal/space_time_datasets.py", line 1127, in SpaceTimeRaster3DDataset

----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 1135, in grass.temporal.space_time_datasets.SpaceTimeRaster3DDataset
Failed example:
    str3ds.is_in_db()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest grass.temporal.space_time_datasets.SpaceTimeRaster3DDataset[3]>", line 1, in <module>
        str3ds.is_in_db()
      File "etc/python/grass/temporal/abstract_dataset.py", line 368, in is_in_db
        return self.base.is_in_db(dbif)
      File "etc/python/grass/temporal/base.py", line 315, in is_in_db
        dbif.execute(sql, mapset=self.mapset)
      File "etc/python/grass/temporal/core.py", line 981, in execute
        self._create_mapset_error_message(mapset)))
    TypeError: 'int' object is not callable
----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 1148, in grass.temporal.space_time_datasets.SpaceTimeRaster3DDataset
Failed example:
    str3ds.is_in_db()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest grass.temporal.space_time_datasets.SpaceTimeRaster3DDataset[11]>", line 1, in <module>
        str3ds.is_in_db()
      File "etc/python/grass/temporal/abstract_dataset.py", line 368, in is_in_db
        return self.base.is_in_db(dbif)
      File "etc/python/grass/temporal/base.py", line 315, in is_in_db
        dbif.execute(sql, mapset=self.mapset)
      File "etc/python/grass/temporal/core.py", line 981, in execute
        self._create_mapset_error_message(mapset)))
    TypeError: 'bool' object is not callable


======================================================================
FAIL: SpaceTimeRasterDataset (grass.temporal.space_time_datasets)
Doctest: grass.temporal.space_time_datasets.SpaceTimeRasterDataset
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for grass.temporal.space_time_datasets.SpaceTimeRasterDataset
  File "etc/python/grass/temporal/space_time_datasets.py", line 1018, in SpaceTimeRasterDataset

----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 1026, in grass.temporal.space_time_datasets.SpaceTimeRasterDataset
Failed example:
    strds.is_in_db()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest grass.temporal.space_time_datasets.SpaceTimeRasterDataset[3]>", line 1, in <module>
        strds.is_in_db()
      File "etc/python/grass/temporal/abstract_dataset.py", line 368, in is_in_db
        return self.base.is_in_db(dbif)
      File "etc/python/grass/temporal/base.py", line 315, in is_in_db
        dbif.execute(sql, mapset=self.mapset)
      File "etc/python/grass/temporal/core.py", line 981, in execute
        self._create_mapset_error_message(mapset)))
    TypeError: 'bool' object is not callable
----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 1039, in grass.temporal.space_time_datasets.SpaceTimeRasterDataset
Failed example:
    strds.is_in_db()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest grass.temporal.space_time_datasets.SpaceTimeRasterDataset[11]>", line 1, in <module>
        strds.is_in_db()
      File "etc/python/grass/temporal/abstract_dataset.py", line 368, in is_in_db
        return self.base.is_in_db(dbif)
      File "etc/python/grass/temporal/base.py", line 315, in is_in_db
        dbif.execute(sql, mapset=self.mapset)
      File "etc/python/grass/temporal/core.py", line 981, in execute
        self._create_mapset_error_message(mapset)))
    TypeError: 'bool' object is not callable


======================================================================
FAIL: SpaceTimeVectorDataset (grass.temporal.space_time_datasets)
Doctest: grass.temporal.space_time_datasets.SpaceTimeVectorDataset
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for grass.temporal.space_time_datasets.SpaceTimeVectorDataset
  File "etc/python/grass/temporal/space_time_datasets.py", line 1255, in SpaceTimeVectorDataset

----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 1263, in grass.temporal.space_time_datasets.SpaceTimeVectorDataset
Failed example:
    stvds.is_in_db()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest grass.temporal.space_time_datasets.SpaceTimeVectorDataset[3]>", line 1, in <module>
        stvds.is_in_db()
      File "etc/python/grass/temporal/abstract_dataset.py", line 368, in is_in_db
        return self.base.is_in_db(dbif)
      File "etc/python/grass/temporal/base.py", line 315, in is_in_db
        dbif.execute(sql, mapset=self.mapset)
      File "etc/python/grass/temporal/core.py", line 981, in execute
        self._create_mapset_error_message(mapset)))
    TypeError: 'bool' object is not callable
----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 1276, in grass.temporal.space_time_datasets.SpaceTimeVectorDataset
Failed example:
    stvds.is_in_db()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest grass.temporal.space_time_datasets.SpaceTimeVectorDataset[11]>", line 1, in <module>
        stvds.is_in_db()
      File "etc/python/grass/temporal/abstract_dataset.py", line 368, in is_in_db
        return self.base.is_in_db(dbif)
      File "etc/python/grass/temporal/base.py", line 315, in is_in_db
        dbif.execute(sql, mapset=self.mapset)
      File "etc/python/grass/temporal/core.py", line 981, in execute
        self._create_mapset_error_message(mapset)))
    TypeError: 'bool' object is not callable


----------------------------------------------------------------------
Ran 95 tests in 4.256s
FAILED (failures=3)