pallets / jinja

A very fast and expressive template engine.
https://jinja.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
10.23k stars 1.6k forks source link

tests: Tweak to work with markupsafe 2.1.4 #1935

Closed rpurdie closed 7 months ago

rpurdie commented 7 months ago

The recent markupsafe release 2.1.4 causes a regression in the jinja2 tests as a newline is present. Use strip to work around this change in behaviour to stop the test suite being affected.

rpurdie commented 7 months ago

https://github.com/pallets/markupsafe/issues/417 means this is probably incorrect.