code: def mark_dualiter(parameter, factory):
      def decorator(f):
          return pytest.mark.parametrize(
              parameter,
              [lambda: factory(), lambda: make_aiter(factory())],
          )(f)
  
      return decorator
  
imports: from collections import namedtuple
  import pytest
  from markupsafe import Markup
  from jinja2 import Environment
  from jinja2.async_utils import auto_aiter
label_desc: Use image node_id 1 for calling a global function with example usage: mark_dualiter(parameter, factory) and returns: decorator, pytest