diff --git a/tests/src/python/test_qgsfeature.py b/tests/src/python/test_qgsfeature.py index 1eb09be1458c..17bd2bed92a7 100644 --- a/tests/src/python/test_qgsfeature.py +++ b/tests/src/python/test_qgsfeature.py @@ -12,6 +12,8 @@ import os import qgis # NOQA +from qgis.PyQt.QtCore import QVariant + from qgis.core import ( NULL, QgsFeature,