test_register_function

./lib/python/temporal – test_register_function

Test failed

Test filetest_register_function
Testsuite./lib/python/temporal
StatusFAILED
Return code1
Number of tests1
Successful tests0
Failed tests1
Percent successful0%
Test duration0:00:01.169953

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:789: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
etc/python/grass/temporal/abstract_dataset.py:557: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyStartTime(object):
etc/python/grass/temporal/abstract_dataset.py:605: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class AbstractDatasetComparisonKeyEndTime(object):
/usr/lib/python2.7/dist-packages/dateutil/relativedelta.py:15: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class weekday(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:31: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzutc(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:54: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzoffset(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:83: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzlocal(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:152: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class _ttinfo(object):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:191: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzfile(datetime.tzinfo):
/usr/lib/python2.7/dist-packages/dateutil/tz.py:475: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzrange(datetime.tzinfo):
etc/python/grass/pygrass/gis/region.py:17: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class Region(object):
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:6: 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:7: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import umath
etc/python/grass/pygrass/vector/geometry.py:302: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class Point(Geo):
etc/python/grass/pygrass/vector/table.py:165: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class Columns(object):
etc/python/grass/pygrass/vector/table.py:572: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class Link(object):
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
E
======================================================================
ERROR: setUpClass (__main__.TestRegisterFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/test_register_function.py", line 24, in setUpClass
    cls.runModule("g.gisenv", set="TGIS_USE_CURRENT_MAPSET=1")
  File "etc/python/grass/gunittest/case.py", line 955, in runModule
    errors=errors)
CalledModuleError: Module run 1 g.gisenv ended with error
Process ended with non-zero return code g.gisenv(set='TGIS_USE_CURRENT_MAPSET=1', store='gisrc'). See the following errors:

Description:
 Outputs and modifies the user's current GRASS variable settings.
 Prints all defined GRASS variables if no option is given.

Keywords:
 general, settings, variables

Usage:
 g.gisenv [-sn] [get=VARIABLE] [set="VARIABLE=value"] [unset=VARIABLE]
   [store=string] [--help] [--verbose] [--quiet]

Flags:
  -s   Use shell syntax (for "eval")
  -n   Don't use shell syntax
 --h   Print usage summary
 --v   Verbose module output
 --q   Quiet module output

Parameters:
    get   GRASS variable to get
    set   GRASS variable to set
  unset   GRASS variable to unset
  store   Where GRASS variable is stored
          options: gisrc,mapset
          default: gisrc

ERROR: Value <'gisrc'> out of range for parameter <store>
	Legal range: gisrc,mapset


----------------------------------------------------------------------
Ran 0 tests in 0.012s
FAILED (errors=1)