Skip to content
Permalink
Browse files

add decimals to fix test

  • Loading branch information
3nids committed Nov 1, 2018
1 parent 419d010 commit 8942293d4459f25b6dea53cfb4b56f6a7b69e055
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsvectorfilewriter.py
@@ -210,7 +210,7 @@ def testDateTimeWriteShapefile(self):
time_idx = created_layer.fields().lookupField('time_f')
# shapefiles do not support time types
self.assertIsInstance(f.attributes()[time_idx], str)
self.assertEqual(f.attributes()[time_idx], '13:45:22')
self.assertEqual(f.attributes()[time_idx], '13:45:22.000')
# shapefiles do not support datetime types
datetime_idx = created_layer.fields().lookupField('dt_f')
self.assertIsInstance(f.attributes()[datetime_idx], str)

0 comments on commit 8942293

Please sign in to comment.
You can’t perform that action at this time.