Skip to content

Commit 8942293

Browse files
committed
add decimals to fix test
1 parent 419d010 commit 8942293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/python/test_qgsvectorfilewriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def testDateTimeWriteShapefile(self):
210210
time_idx = created_layer.fields().lookupField('time_f')
211211
# shapefiles do not support time types
212212
self.assertIsInstance(f.attributes()[time_idx], str)
213-
self.assertEqual(f.attributes()[time_idx], '13:45:22')
213+
self.assertEqual(f.attributes()[time_idx], '13:45:22.000')
214214
# shapefiles do not support datetime types
215215
datetime_idx = created_layer.fields().lookupField('dt_f')
216216
self.assertIsInstance(f.attributes()[datetime_idx], str)

0 commit comments

Comments
 (0)