Skip to content

Commit

Permalink
add decimals to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Nov 1, 2018
1 parent 419d010 commit 8942293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsvectorfilewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8942293

Please sign in to comment.