mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Do not run the webengine build test on windows as it causes a crash on exit under cygwin+ssh
This commit is contained in:
parent
cb091ea844
commit
89f5a0b183
@ -223,6 +223,8 @@ class BuildTest(unittest.TestCase):
|
||||
if iswindows:
|
||||
from PyQt5.Qt import QtWin
|
||||
QtWin
|
||||
if has_headless:
|
||||
# Causes crash on exit under windows+cygwin+ssh
|
||||
p = QWebEnginePage()
|
||||
|
||||
def callback(result):
|
||||
@ -241,8 +243,8 @@ class BuildTest(unittest.TestCase):
|
||||
app.exec_()
|
||||
self.assertEqual(callback.result, 2)
|
||||
self.assertIn(b'Skia/PDF', bytes(print_callback.result))
|
||||
del na
|
||||
del p
|
||||
del na
|
||||
del app
|
||||
del QWebEnginePage
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user