Skip to content

Commit 930b485

Browse files
committed
Fix bad assert in TestQgsRectangle
1 parent 6bfde52 commit 930b485

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/src/python/test_qgsrectangle.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ def testUnion(self):
155155
assert rect1.contains(rect2), myMessage
156156

157157
print rect1.toString()
158-
assert (rect1 == QgsRectangle(0.0, 0.0, 7.0, 7.0),
159-
'Wrong combine with rectangle result')
158+
assert rect1 == QgsRectangle(0.0, 0.0, 7.0, 7.0), 'Wrong combine with rectangle result'
160159

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

0 commit comments

Comments
 (0)