Skip to content

Commit

Permalink
Format the docstring as suggested by @CAM-Gerlach
Browse files Browse the repository at this point in the history
See spyder-ide#408 (comment)

Co-authored-by: C.A.M. Gerlach <[email protected]>
  • Loading branch information
StSav012 and CAM-Gerlach committed Feb 23, 2023
1 parent f45ec55 commit dbbb80e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qtpy/tests/test_qtgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ def test_enum_access():
sys.platform == 'darwin' and sys.version_info[:2] == (3, 7),
reason="Stalls on macOS CI with Python 3.7")
def test_QMouseEvent_pos_functions(qtbot):
"""Test `QMouseEvent.pos` and related functions obsolete in Qt6,
test `QMouseEvent.position` and related functions missing from Qt5"""
"""
Test `QMouseEvent.pos` and related functions removed in Qt 6,
and `QMouseEvent.position`, etc., missing from Qt 5.
"""

class Window(QtWidgets.QMainWindow):
def mouseDoubleClickEvent(self, event: QtGui.QMouseEvent) -> None:
Expand Down

0 comments on commit dbbb80e

Please sign in to comment.