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:13: 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
..F..F..ERROR: Ohh no no no!
WARNING: Needed to restart the messenger server
ERROR: Ohh no no no!
....etc/python/grass/temporal/datetime_math.py:879: DeprecationWarning: classic int division
  if tz.seconds > 86400 / 2:
etc/python/grass/temporal/datetime_math.py:882: DeprecationWarning: classic int division
  tz = tz.seconds/60
etc/python/grass/temporal/datetime_math.py:880: DeprecationWarning: classic int division
  tz = (tz.seconds - 86400) / 60
...WARNING: Needed to restart the messenger server
.................................FFFF............................/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
F
======================================================================
FAIL: DatasetBase (grass.temporal.base)
Doctest: grass.temporal.base.DatasetBase
----------------------------------------------------------------------
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.base.DatasetBase
  File "etc/python/grass/temporal/base.py", line 530, in DatasetBase

----------------------------------------------------------------------
File "etc/python/grass/temporal/base.py", line 560, in grass.temporal.base.DatasetBase
Failed example:
    t.print_shell_info()
Expected:
    id=soil@PERMANENT
    name=soil
    mapset=PERMANENT
    creator=soeren
    temporal_type=absolute
    creation_time=2001-01-01 00:00:00
Got:
    id=soil@PERMANENT
    name=soil
    mapset=PERMANENT
    creator=soeren
    temporal_type=absolute
    creation_time='2001-01-01 00:00:00'


======================================================================
FAIL: STDSBase (grass.temporal.base)
Doctest: grass.temporal.base.STDSBase
----------------------------------------------------------------------
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.base.STDSBase
  File "etc/python/grass/temporal/base.py", line 833, in STDSBase

----------------------------------------------------------------------
File "etc/python/grass/temporal/base.py", line 857, in grass.temporal.base.STDSBase
Failed example:
    t.print_shell_info()
Expected:
    id=soil@PERMANENT
    name=soil
    mapset=PERMANENT
    creator=soeren
    temporal_type=absolute
    creation_time=2001-01-01 00:00:00
    modification_time=2001-01-01 00:00:00
    semantic_type=average
Got:
    id=soil@PERMANENT
    name=soil
    mapset=PERMANENT
    creator=soeren
    temporal_type=absolute
    creation_time='2001-01-01 00:00:00'
    modification_time='2001-01-01 00:00:00'
    semantic_type=average


======================================================================
FAIL: RelativeTemporalExtent (grass.temporal.temporal_extent)
Doctest: grass.temporal.temporal_extent.RelativeTemporalExtent
----------------------------------------------------------------------
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.temporal_extent.RelativeTemporalExtent
  File "etc/python/grass/temporal/temporal_extent.py", line 1220, in RelativeTemporalExtent

----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_extent.py", line 1245, in grass.temporal.temporal_extent.RelativeTemporalExtent
Failed example:
    A.print_shell_info()
Expected:
    start_time=0
    end_time=1
    unit=years
Got:
    start_time='0'
    end_time='1'
    unit=years


======================================================================
FAIL: STDSAbsoluteTime (grass.temporal.temporal_extent)
Doctest: grass.temporal.temporal_extent.STDSAbsoluteTime
----------------------------------------------------------------------
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.temporal_extent.STDSAbsoluteTime
  File "etc/python/grass/temporal/temporal_extent.py", line 1090, in STDSAbsoluteTime

----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_extent.py", line 1121, in grass.temporal.temporal_extent.STDSAbsoluteTime
Failed example:
    A.print_shell_info()
Expected:
    start_time=2001-01-01 00:00:00
    end_time=2005-01-01 00:00:00
    granularity=1 days
    map_time=interval
Got:
    start_time='2001-01-01 00:00:00'
    end_time='2005-01-01 00:00:00'
    granularity='1 days'
    map_time=interval


======================================================================
FAIL: STDSRelativeTime (grass.temporal.temporal_extent)
Doctest: grass.temporal.temporal_extent.STDSRelativeTime
----------------------------------------------------------------------
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.temporal_extent.STDSRelativeTime
  File "etc/python/grass/temporal/temporal_extent.py", line 1337, in STDSRelativeTime

----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_extent.py", line 1369, in grass.temporal.temporal_extent.STDSRelativeTime
Failed example:
    A.print_shell_info()
Expected:
    start_time=0
    end_time=1
    unit=years
    granularity=5
    map_time=interval
Got:
    start_time='0'
    end_time='1'
    unit=years
    granularity=5
    map_time=interval


======================================================================
FAIL: TemporalExtent (grass.temporal.temporal_extent)
Doctest: grass.temporal.temporal_extent.TemporalExtent
----------------------------------------------------------------------
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.temporal_extent.TemporalExtent
  File "etc/python/grass/temporal/temporal_extent.py", line 32, in TemporalExtent

----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_extent.py", line 60, in grass.temporal.temporal_extent.TemporalExtent
Failed example:
    A.print_shell_info()
Expected:
    start_time=2001-01-01 00:00:00
    end_time=2005-01-01 00:00:00
Got:
    start_time='2001-01-01 00:00:00'
    end_time='2005-01-01 00:00:00'
----------------------------------------------------------------------
File "etc/python/grass/temporal/temporal_extent.py", line 75, in grass.temporal.temporal_extent.TemporalExtent
Failed example:
    A.print_shell_info()
Expected:
    start_time=0
    end_time=1
Got:
    start_time='0'
    end_time='1'


======================================================================
FAIL: CLibrariesInterface (grass.temporal.c_libraries_interface)
Doctest: grass.temporal.c_libraries_interface.CLibrariesInterface
----------------------------------------------------------------------
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.c_libraries_interface.CLibrariesInterface
  File "etc/python/grass/temporal/c_libraries_interface.py", line 962, in CLibrariesInterface

----------------------------------------------------------------------
File "etc/python/grass/temporal/c_libraries_interface.py", line 1080, in grass.temporal.c_libraries_interface.CLibrariesInterface
Failed example:
    kvp['lines']
Expected:
    10
Got:
    0


----------------------------------------------------------------------
Ran 100 tests in 17.063s
FAILED (failures=7)