code: def test_pathcompleter_does_not_expanduser_by_default():
      completer = PathCompleter()
      doc_text = "~"
      doc = Document(doc_text, len(doc_text))
      event = CompleteEvent()
      completions = list(completer.get_completions(doc, event))
      assert [] == completions
  
file_path: catboost/contrib/python/prompt-toolkit/py2/tests/test_contrib.py
imports: from __future__ import unicode_literals, absolute_import, print_function
  import os
  import shutil
  import tempfile
  from contextlib import contextmanager
  from six import text_type
  from prompt_toolkit.completion import CompleteEvent
  from prompt_toolkit.document import Document
  from prompt_toolkit.contrib.completers.filesystem import PathCompleter
label_desc: Use image node_id 8 for calling a global function with example usage: test_pathcompleter_does_not_expanduser_by_default() without return types