Do not display gi Gtk warning when running tests
- Fix Gtk import
This commit is contained in:
parent
3c99aab75a
commit
a936b07d7b
@ -22,7 +22,9 @@
|
||||
import time
|
||||
import unittest
|
||||
|
||||
from gi.repository import Gtk
|
||||
import gi # isort:skip
|
||||
gi.require_version('Gtk', '3.0') # isort:skip
|
||||
from gi.repository import Gtk # isort:skip pylint:
|
||||
|
||||
from qubespolicy.gtkhelpers import VMListModeler, GtkOneTimerHelper, \
|
||||
FocusStealingHelper
|
||||
|
Loading…
Reference in New Issue
Block a user