Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix PyQgsVectorFileWriter test on Windows
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
tests/src/python/test_qgsvectorfilewriter.py
|
@@ -329,7 +329,7 @@ def testWriteShapefileWithAttributeSubsets(self): |
|
|
self.assertEqual(f['field3'], 13) |
|
|
|
|
|
#finally test writing no attributes |
|
|
dest_file_name = os.path.join(str(QDir.tempPath()), 'subset_attributes.shp') |
|
|
dest_file_name = os.path.join(str(QDir.tempPath()), 'no_attributes.shp') |
|
|
write_result = QgsVectorFileWriter.writeAsVectorFormat( |
|
|
ml, |
|
|
dest_file_name, |
|
|