Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[tests] Use from Qt import
  • Loading branch information
elpaso committed Nov 3, 2016
1 parent be12e83 commit 342e743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions tests/src/python/test_authmanager_pki_ows.py
Expand Up @@ -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,
Expand Down
5 changes: 1 addition & 4 deletions tests/src/python/test_authmanager_pki_postgres.py
Expand Up @@ -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,
Expand Down

0 comments on commit 342e743

Please sign in to comment.