aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/signals/pysignal_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/signals/pysignal_test.py')
-rw-r--r--sources/pyside6/tests/signals/pysignal_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/signals/pysignal_test.py b/sources/pyside6/tests/signals/pysignal_test.py
index e3d6a55da..61dd537a5 100644
--- a/sources/pyside6/tests/signals/pysignal_test.py
+++ b/sources/pyside6/tests/signals/pysignal_test.py
@@ -14,7 +14,7 @@ init_test_paths(False)
from PySide6.QtCore import QObject, SIGNAL, SLOT, Qt
try:
- from PySide6.QtWidgets import QSpinBox, QApplication, QWidget
+ from PySide6.QtWidgets import QSpinBox, QApplication, QWidget # noqa: F401
hasQtGui = True
except ImportError:
hasQtGui = False
@@ -97,7 +97,7 @@ class PythonSigSlot(unittest.TestCase):
def tearDown(self):
try:
del self.args
- except:
+ except: # noqa: E722
pass
# PYSIDE-535: Need to collect garbage in PyPy to trigger deletion
gc.collect()