docstr: Ensures that a template with more than 1 {% extends ... %} usage
  raises a ``TemplateError``.
docstr_tok: ["Ensures","that","a","template","with","more","than","1","{","%","extends","...","%","}","usage","raises","a","``","TemplateError","``","."]
code: def test_double_extends(self, env):
      """Ensures that a template with more than 1 {% extends ... %} usage
      raises a ``TemplateError``.
      """
      with pytest.raises(
          TemplateRuntimeError, match="extended multiple times"
      ):
          env.get_template("doublee").render()
  
imports: import pytest
  from jinja2 import DictLoader
  from jinja2 import Environment
  from jinja2 import TemplateRuntimeError
label_desc: Use image node_id 2 for calling the TestBugFix obj's underlying member method code with example usage: obj.test_double_extends(env) without return types