❌ Test failed
Test | test_table |
Testsuite | ./lib/python/pygrass/vector |
Test file | ./lib/python/pygrass/vector/testsuite/test_table.py |
Status | FAILED |
Return code | 1 |
Number of tests | 4 |
Successful tests | 0 |
Failed tests | 4 |
Percent successful | 0% |
Test duration | 0:00:01.370729 |
/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/lib/gis.py:801: DeprecationWarning: classic int division ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))), EEEE ====================================================================== ERROR: test_check_insert_update_str (__main__.ColumnsTestCase) Check insert_str and update_str attribute of Columns are correct ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/vector/testsuite/test_table.py", line 145, in tearDown self.table.drop(force=True) File "etc/python/grass/pygrass/vector/table.py", line 1015, in drop used = db_table_in_vector(self.name) File "etc/python/grass/script/db.py", line 184, in db_table_in_vector from vector import vector_db ImportError: No module named vector ====================================================================== ERROR: test_insert (__main__.TableInsertTestCase) Test Table.insert method ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/vector/testsuite/test_table.py", line 169, in tearDown self.table.drop(force=True) File "etc/python/grass/pygrass/vector/table.py", line 1015, in drop used = db_table_in_vector(self.name) File "etc/python/grass/script/db.py", line 184, in db_table_in_vector from vector import vector_db ImportError: No module named vector ====================================================================== ERROR: test_insert_many (__main__.TableInsertTestCase) Test Table.insert method using many==True ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/vector/testsuite/test_table.py", line 169, in tearDown self.table.drop(force=True) File "etc/python/grass/pygrass/vector/table.py", line 1015, in drop used = db_table_in_vector(self.name) File "etc/python/grass/script/db.py", line 184, in db_table_in_vector from vector import vector_db ImportError: No module named vector ====================================================================== ERROR: test_update (__main__.TableUpdateTestCase) Test Table.update method ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/pygrass/vector/testsuite/test_table.py", line 145, in tearDown self.table.drop(force=True) File "etc/python/grass/pygrass/vector/table.py", line 1015, in drop used = db_table_in_vector(self.name) File "etc/python/grass/script/db.py", line 184, in db_table_in_vector from vector import vector_db ImportError: No module named vector ---------------------------------------------------------------------- Ran 4 tests in 0.075s FAILED (errors=4)