code: def test_consume():
      """Test that consume consumes an iterator."""
      x = iter([1, 2, 3, 4, 5])
      consume(x)
      with pytest.raises(StopIteration):
          next(x)
  
imports: import pickle
  import random
  from collections import deque
  from copy import copy
  import pytest
  from markupsafe import Markup
  from jinja2._compat import range_type
  from jinja2._compat import string_types
  from jinja2.utils import consume
  from jinja2.utils import generate_lorem_ipsum
  from jinja2.utils import LRUCache
  from jinja2.utils import missing
  from jinja2.utils import object_type_repr
  from jinja2.utils import select_autoescape
  from jinja2.utils import urlize
label_desc: Use image node_id 2 for calling a global function with example usage: test_consume() without return types