code: def test_repeated_yank_nth_arg(_history):
      buff = Buffer(history=_history)
      buff.yank_nth_arg()
      buff.yank_nth_arg()
      assert buff.document.current_line == "beta"
  
file_path: catboost/contrib/python/prompt-toolkit/py2/tests/test_yank_nth_arg.py
imports: from __future__ import unicode_literals
  from prompt_toolkit.buffer import Buffer
  from prompt_toolkit.history import InMemoryHistory
  import pytest
label_desc: Use image node_id 10 for calling a global function with example usage: test_repeated_yank_nth_arg(_history) without return types