This commit is contained in:
Matthias Kuhn 2017-09-19 12:24:01 +02:00
parent 44e32e18c0
commit d1d26e96b0
No known key found for this signature in database
GPG Key ID: A0E766808764D73F

View File

@ -121,7 +121,7 @@ def writeShape(theMemoryLayer, theFileName):
myOptions,
myLayerOptions,
mySkipAttributesFlag)
self.assertEqual(myResult, QgsVectorFileWriter.NoError, myErrorMessage)
assert myResult == QgsVectorFileWriter.NoError, 'Writing shape failed, Error {} ({})'.format(myResult, myErrorMessage)
def doubleNear(a, b, tol=0.0000000001):