Skip to content
Permalink
Browse files

adapt test result for better coordinates (0c29b4b)

  • Loading branch information
jef-n committed Sep 29, 2012
1 parent 9e4156b commit d684f1fbbd140d4d9ed0602d223144431a316720
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsmemoryprovider.py
@@ -78,9 +78,9 @@ def testAddFeatures(self):
geom = f.geometry()

myMessage = ('Expected: %s\nGot: %s\n' %
("POINT(10.000000 10.000000)", str(geom.exportToWkt())))
("POINT(10.0 10.0)", str(geom.exportToWkt())))

assert str(geom.exportToWkt()) == "POINT(10.000000 10.000000)", myMessage
assert str(geom.exportToWkt()) == "POINT(10.0 10.0)", myMessage

if __name__ == '__main__':
unittest.main()

0 comments on commit d684f1f

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