Renamed singleShot to isSingleShot in QTimer stub
As in compliance to: http://doc.qt.io/qt-5/qtimer.html
This commit is contained in:
parent
6388ec4794
commit
065c3fcd9d
@ -82,9 +82,9 @@ def test_disconnect_one_invalid(timer):
|
||||
|
||||
def test_singleshot(timer):
|
||||
"""Test setting singleShot."""
|
||||
assert not timer.singleShot()
|
||||
assert not timer.isSingleShot()
|
||||
timer.setSingleShot(True)
|
||||
assert timer.singleShot()
|
||||
assert timer.isSingleShot()
|
||||
timer.start()
|
||||
assert timer.isActive()
|
||||
timer.timeout.emit()
|
||||
|
Loading…
Reference in New Issue
Block a user