code: def test_everygrams_max_len(everygram_input):
      expected_output = [
          ("a",),
          ("a", "b"),
          ("b",),
          ("b", "c"),
          ("c",),
      ]
      output = list(everygrams(everygram_input, max_len=2))
      assert output == expected_output
  
file_path: nltk/nltk/test/unit/test_util.py
imports: import pytest
  from nltk.util import everygrams
label_desc: Use image node_id 3 for calling a global function with example usage: test_everygrams_max_len(everygram_input) without return types