Skip to main content

asserts_crlf_as_text

Function asserts_crlf_as_text 

Source
pub fn asserts_crlf_as_text(path: &str, text: &str) -> bool
Expand description

Whether a Python test asserts \r\n in output it reads as text (text=True, universal_newlines=True): text mode turns \r\n into \n, so it fails whatever the code writes (the example’s US1, 2026-11-03).