Skip to content

Commit 855e832

Browse files
committed
Clarify the comment as suggested by @ccordoba12
1 parent 674183d commit 855e832

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qtpy/tests/test_qtgui.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ def test_QAction_functions(qtbot):
189189
action.setShortcuts(QtGui.QKeySequence.UnknownKey)
190190
action.setShortcut(QtCore.Qt.Key_F1)
191191
action.setShortcuts([QtCore.Qt.Key_F1])
192-
# The following line is wrong even for Qt6 == 6.6:
192+
# The following line is wrong even for Qt6 == 6.6.
193+
# Don't test the function with a single `QtCore.Qt.Key` argument.
193194
# action.setShortcuts(QtCore.Qt.Key_F1)
194195

195196

0 commit comments

Comments
 (0)