mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-15 08:15:14 +01:00
Test importing of QtWin on windows
This commit is contained in:
parent
3ea989387b
commit
03332d261f
1 changed files with 3 additions and 0 deletions
|
|
@ -144,6 +144,9 @@ def test_qt(self):
|
|||
na = QNetworkAccessManager()
|
||||
self.assertTrue(hasattr(na, 'sslErrors'), 'Qt not compiled with openssl')
|
||||
from PyQt5.QtWebKitWidgets import QWebView
|
||||
if iswindows:
|
||||
from PyQt5.Qt import QtWin
|
||||
QtWin
|
||||
QWebView()
|
||||
del QWebView
|
||||
del na
|
||||
|
|
|
|||
Loading…
Reference in a new issue