test_doctests

./lib/python/temporal – test_doctests

Test failed

Testtest_doctests
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/test_doctests.py
StatusFAILED
Return code1
Number of tests99
Successful tests96
Failed tests3
Percent successful97%
Test duration0:00:05.282692

Supplementary files

Standard error output (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
..........FF...F................................................./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: Raster3DDataset (grass.temporal.space_time_datasets)
Doctest: grass.temporal.space_time_datasets.Raster3DDataset
----------------------------------------------------------------------
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.Raster3DDataset
  File "etc/python/grass/temporal/space_time_datasets.py", line 366, in Raster3DDataset

----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 454, in grass.temporal.space_time_datasets.Raster3DDataset
Failed example:
    r3map.get_name()
Expected:
    u'str3ds_map_test_case'
Got:
    'str3ds_map_test_case'


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

----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 121, in grass.temporal.space_time_datasets.RasterDataset
Failed example:
    rmap.get_name()
Expected:
    u'strds_map_test_case'
Got:
    'strds_map_test_case'


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

----------------------------------------------------------------------
File "etc/python/grass/temporal/space_time_datasets.py", line 799, in grass.temporal.space_time_datasets.VectorDataset
Failed example:
    vmap.get_name()
Expected:
    u'stvds_map_test_case'
Got:
    'stvds_map_test_case'


----------------------------------------------------------------------
Ran 99 tests in 3.967s
FAILED (failures=3)