from tests import app @app.route("/error-assert-newline") def error_assert_newline(): return '

Hello

\n\n'