Skip to content
Permalink
Browse files

[tests] Use from Qt import

  • Loading branch information
elpaso committed Nov 3, 2016
1 parent be12e83 commit 342e74393fe9b35845798aa218032821aeee1e14
@@ -39,10 +39,7 @@
QgsRasterLayer,
)

try:
from PyQt4.QtNetwork import QSslCertificate
except ImportError:
from PyQt5.QtNetwork import QSslCertificate
from PyQt.QtNetwork import QSslCertificate

from qgis.testing import (
start_app,
@@ -38,10 +38,7 @@
)


try:
from PyQt4.QtNetwork import QSslCertificate
except ImportError:
from PyQt5.QtNetwork import QSslCertificate
from PyQt.QtNetwork import QSslCertificate

from qgis.testing import (
start_app,

0 comments on commit 342e743

Please sign in to comment.
You can’t perform that action at this time.