❌ Test failed
Test | test_doctests |
Testsuite | ./lib/python/temporal |
Test file | ./lib/python/temporal/testsuite/test_doctests.py |
Status | FAILED |
Return code | 1 |
Number of tests | 95 |
Successful tests | 92 |
Failed tests | 3 |
Percent successful | 97% |
Test duration | 0:00:05.005225 |
... (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 3.657s
FAILED (failures=3)