def test_timeout_start(qtbot):
 t = usertypes.Timer()
 with qtbot.waitSignal(t.timeout, timeout=3000):
  t.start(200)

def test_timeout_start ( qtbot ) : t = usertypes . Timer ( ) with qtbot . waitSignal ( t . timeout , timeout = 3000 ) : t . start ( 200 )
make sure the timer works with start() .