Skip to content

Commit

Permalink
Fix bad assert in TestQgsRectangle
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 7, 2015
1 parent 6bfde52 commit 930b485
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/src/python/test_qgsrectangle.py
Expand Up @@ -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)
Expand Down

0 comments on commit 930b485

Please sign in to comment.