Skip to content
Permalink
Browse files
Indentation
  • Loading branch information
nyalldawson committed Sep 7, 2021
1 parent 9b477ba commit 046a2aaf0a36db982ae4cbb260ab5feefd2d29d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/python/test_qgsmapcanvas.py
@@ -702,7 +702,7 @@ def test_rendered_item_results_remove_outdated(self):

results = canvas.renderedItemResults()
items_in_bounds = results.renderedAnnotationItemsInBounds(QgsRectangle(10, 10, 15, 15))
self.assertCountEqual([i.itemId() for i in items_in_bounds], [i1_id,i2_id])
self.assertCountEqual([i.itemId() for i in items_in_bounds], [i1_id, i2_id])

items_in_bounds = results.renderedAnnotationItemsInBounds(QgsRectangle(15, 15, 20, 20))
self.assertCountEqual([i.itemId() for i in items_in_bounds], [i3_id])

0 comments on commit 046a2aa

Please sign in to comment.