Skip to content

Commit

Permalink
Fix PyQgsMapUnitScale test under qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 5, 2016
1 parent fd0d804 commit e54f9be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion ci/travis/linux/qt5/blacklist.txt
@@ -1,7 +1,6 @@
PyQgsComposerPicture
PyQgsJSONUtils
PyQgsLocalServer
PyQgsMapUnitScale
PyQgsPalLabelingServer
PyQgsServer
PyQgsServerAccessControl
Expand Down
1 change: 1 addition & 0 deletions tests/src/python/test_qgsmapunitscale.py
Expand Up @@ -78,6 +78,7 @@ def testMapUnitsPerPixel(self):
ms = QgsMapSettings()
ms.setExtent(QgsRectangle(0, 0, 100, 100))
ms.setOutputSize(QSize(100, 50))
ms.setOutputDpi(75)
r = QgsRenderContext.fromMapSettings(ms)

# renderer scale should be about 1:291937841
Expand Down

0 comments on commit e54f9be

Please sign in to comment.