Skip to content

Commit 759b30d

Browse files
committed
Small fix example in README.md
1 parent 6996b75 commit 759b30d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ like key presses and mouse clicks:
1717
qtbot.addWidget(widget)
1818
1919
# click in the Greet button and make sure it updates the appropriate label
20-
qtbot.mouseClick(window.button_greet, QtCore.Qt.LeftButton)
20+
qtbot.mouseClick(widget.button_greet, QtCore.Qt.LeftButton)
2121
22-
assert window.greet_label.text() == 'Hello!'
22+
assert widget.greet_label.text() == 'Hello!'
2323
2424
2525
.. _PySide: https://pypi.python.org/pypi/PySide

0 commit comments

Comments
 (0)