You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--pytest-env-verbose prints multi-line values as extra header entries #322
With --pytest-env-verbose, a value that holds a newline is split across header lines, and the continuation can read like a separate SET, SKIP or UNSET entry. The variables the tests receive are correct; only the header is wrong.
_format_actionsinterpolates the name, the value and the source into {action} {key}={value} (from {source}) without escaping, and pytest writes each returned string to the terminal. A newline in the value ends the line early, and the rest of the value starts the next one. The README's own .env example, MESSAGE="hello\nworld", prints as two lines.
Activity