Skip to content


Avoid crash on exit of PyQgsPalLabelingComposer test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 6, 2017
1 parent 1be4fd5 commit ba46c87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/python/
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import os
import subprocess

from qgis.PyQt.QtCore import QRect, QRectF, QSize, QSizeF, qDebug
from qgis.PyQt.QtCore import QRect, QRectF, QSize, QSizeF, qDebug, QThreadPool
from qgis.PyQt.QtGui import QImage, QColor, QPainter
from qgis.PyQt.QtPrintSupport import QPrinter
from qgis.PyQt.QtSvg import QSvgRenderer, QSvgGenerator
Expand Down Expand Up @@ -88,6 +88,8 @@ def tearDownClass(cls):
cls.layer = None
# avoid crash on finish, probably related to

def setUp(self):
"""Run before each test."""
Expand Down

0 comments on commit ba46c87

Please sign in to comment.