Skip to content

Commit f4a6bbb

Browse files
authored
Merge pull request #140 from rrzaripov/clarify-example-in-readme
Small fix example in README.md
2 parents 6996b75 + 759b30d commit f4a6bbb

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)