diff --git a/tests/test_handler.py b/tests/test_handler.py index e1d92c18..9f833d12 100644 --- a/tests/test_handler.py +++ b/tests/test_handler.py @@ -62,7 +62,7 @@ def test_render_docstring_examples_section(handler: PythonHandler) -> None: (DocstringSectionKind.examples, ">>> print('Hello')\nHello"), ], ) - template = handler.env.get_template("docstring/examples.html") + template = handler.env.get_template("docstring/examples.html.jinja") rendered = template.render(section=section, locale="en") template.render(section=section, locale="not_existing") assert "
This is an example.
" in rendered