code: def test_mock_not_pass_arg_marker():
      """If a callable class has a ``__getattr__`` that returns True-like
      values for arbitrary attrs, it should not be incorrectly identified
      as a ``pass_context`` function.
      """
  
      class Calc:
          def __getattr__(self, item):
              return object()
  
          def __call__(self, *args, **kwargs):
              return len(args) + len(kwargs)
  
      t = Template("{{ calc() }}")
      out = t.render(calc=Calc())
      # Would be "1" if context argument was passed.
      assert out == "0"
  
file_path: catboost/contrib/python/Jinja2/py3/tests/test_runtime.py
imports: import itertools
  from jinja2 import Template
  from jinja2.runtime import LoopContext
label_desc: Use image node_id 7 for calling a global function with example usage: test_mock_not_pass_arg_marker() and returns: object, unknown