def test_disconnect_all_invalid(timer):
 with pytest.raises(TypeError):
  timer.timeout.disconnect()

def test_disconnect_all_invalid ( timer ) : with pytest . raises ( TypeError ) : timer . timeout . disconnect ( )
test disconnecting with no connections .