Skip to content

Commit

Permalink
revive python tests on bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 4, 2018
1 parent d6af93e commit 82ec418
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@

from qgis.PyQt.QtCore import QVariant
from qgis.core import QgsApplication, QgsFeatureRequest, QgsVectorLayer
from nose2.compat import unittest

try:
from nose2.compat import unittest
except ImportError:
import unittest

# Get a backup, we will patch this one later
_TestCase = unittest.TestCase
Expand Down

0 comments on commit 82ec418

Please sign in to comment.