code: def test_multi_inheritance(self, env):
      env = Environment(
          loader=DictLoader(
              {
                  "default1": "DEFAULT1{% block x %}{% endblock %}",
                  "default2": "DEFAULT2{% block x %}{% endblock %}",
                  "child": (
                      "{% if default %}{% extends default %}{% else %}"
                      "{% extends 'default1' %}{% endif %}"
                      "{% block x %}CHILD{% endblock %}"
                  ),
              }
          )
      )
      tmpl = env.get_template("child")
      assert tmpl.render(default="default2") == "DEFAULT2CHILD"
      assert tmpl.render(default="default1") == "DEFAULT1CHILD"
      assert tmpl.render() == "DEFAULT1CHILD"
  
imports: import pytest
  from jinja2 import DictLoader
  from jinja2 import Environment
  from jinja2 import TemplateRuntimeError
  from jinja2 import TemplateSyntaxError
label_desc: Use image node_id 11 for calling the TestInheritance obj's underlying member method code with example usage: obj.test_multi_inheritance(env) without return types