Skip to content
Permalink
Browse files

Fix bad assert in TestQgsRectangle

  • Loading branch information
nyalldawson committed Dec 7, 2015
1 parent 6bfde52 commit 930b4850e03b727be34c532d29a3ea61c319dc17
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/src/python/test_qgsrectangle.py
@@ -155,8 +155,7 @@ def testUnion(self):
assert rect1.contains(rect2), myMessage

print rect1.toString()
assert (rect1 == QgsRectangle(0.0, 0.0, 7.0, 7.0),
'Wrong combine with rectangle result')
assert rect1 == QgsRectangle(0.0, 0.0, 7.0, 7.0), 'Wrong combine with rectangle result'

rect1 = QgsRectangle(0.0, 0.0, 5.0, 5.0)
rect1.combineExtentWith(6.0, 2.0)

0 comments on commit 930b485

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