code: def test_context_include(self, test_env):
      t = test_env.from_string('{% include "header" %}')
      assert t.render(foo=42) == "[42|23]"
      t = test_env.from_string('{% include "header" with context %}')
      assert t.render(foo=42) == "[42|23]"
      t = test_env.from_string('{% include "header" without context %}')
      assert t.render(foo=42) == "[|23]"
  
imports: import pytest
  from jinja2 import DictLoader
  from jinja2 import Environment
  from jinja2.exceptions import TemplateNotFound
  from jinja2.exceptions import TemplatesNotFound
  from jinja2.exceptions import TemplateSyntaxError
label_desc: Use image node_id 1 for calling the TestIncludes obj's underlying member method code with example usage: obj.test_context_include(test_env) without return types