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 tests95
Successful tests92
Failed tests3
Percent successful97%
Test duration0:00:05.770695

Supplementary files

Standard error output (stderr)

... (lines omitted)

======================================================================
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.393s
FAILED (failures=3)