Skip to content

Commit d7bb167

Browse files
committed
tests: disable GPU for GUI tests
1 parent 277f47d commit d7bb167

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_gui.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def mw(qtbot):
3030
QtTest.QTest.qWait(100)
3131
QtWidgets.QApplication.processEvents(
3232
QtCore.QEventLoop.ProcessEventsFlag.AllEvents, 300)
33+
# disable GPU for tests
34+
mw.checkBox_torch_use_gpu.setChecked(False)
3335
# Run test
3436
yield mw
3537
# Make sure that all daemons are gone

0 commit comments

Comments
 (0)