unittests_temporal_algebra

.\lib\python\temporal – unittests_temporal_algebra

Test failed

Testunittests_temporal_algebra
Testsuite.\lib\python\temporal
Test file.\lib\python\temporal\testsuite\unittests_temporal_algebra.py
StatusFAILED
Return code1
Number of tests16
Successful tests0
Failed tests32
Percent successful0%
Test duration0:01:04.717000

Supplementary files

Standard error output (stderr)

... (lines omitted)
  class tzfile(datetime.tzinfo):
C:\Program Files (x86)\GRASS GIS 7.1.svn\Python27\lib\site-packages\dateutil\tz.py:475: DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
  class tzrange(datetime.tzinfo):
'R = tmap(singletmap)',  stdstype = 'strds', basename="r", overwrite=True)
  File "C:\Program Files (x86)\GRASS GIS 7.1.svn\etc\python\grass\temporal\temporal_algebra.py", line 850, in parse
    self.lexer.build()
  File "C:\Program Files (x86)\GRASS GIS 7.1.svn\etc\python\grass\temporal\temporal_algebra.py", line 656, in build
    self.lexer = lex.lex(module=self, optimize=False, debug=False, **kwargs)
NameError: global name 'lex' is not defined

======================================================================
ERROR: test_tmap_function1 (__main__.TestTemporalAlgebra)
Testing the tmap function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\vpetras\Documents\grass_trunk_r64677\lib\python\temporal\testsuite\unittests_temporal_algebra.py", line 61, in tearDown
    self.runModule("t.remove", inputs="R", quiet=True)
  File "C:\Program Files (x86)\GRASS GIS 7.1.svn\etc\python\grass\gunittest\case.py", line 1033, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.remove ended with error
Process ended with non-zero return code t.remove(inputs=['R'], type='strds', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_tmap_function2 (__main__.TestTemporalAlgebra)
Testing the tmap function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\vpetras\Documents\grass_trunk_r64677\lib\python\temporal\testsuite\unittests_temporal_algebra.py", line 339, in test_tmap_function2
    ta.parse(expression='R = A : tmap(singletmap)',  stdstype = 'strds', basename="r", overwrite=True)
  File "C:\Program Files (x86)\GRASS GIS 7.1.svn\etc\python\grass\temporal\temporal_algebra.py", line 850, in parse
    self.lexer.build()
  File "C:\Program Files (x86)\GRASS GIS 7.1.svn\etc\python\grass\temporal\temporal_algebra.py", line 656, in build
    self.lexer = lex.lex(module=self, optimize=False, debug=False, **kwargs)
NameError: global name 'lex' is not defined

======================================================================
ERROR: test_tmap_function2 (__main__.TestTemporalAlgebra)
Testing the tmap function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\vpetras\Documents\grass_trunk_r64677\lib\python\temporal\testsuite\unittests_temporal_algebra.py", line 61, in tearDown
    self.runModule("t.remove", inputs="R", quiet=True)
  File "C:\Program Files (x86)\GRASS GIS 7.1.svn\etc\python\grass\gunittest\case.py", line 1033, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.remove ended with error
Process ended with non-zero return code t.remove(inputs=['R'], type='strds', quiet=True). See errors in the (error) output.

----------------------------------------------------------------------
Ran 16 tests in 63.701s
FAILED (errors=32)