Warning · Test quality
The raw-byte test calls `format_python()` directly, while the subprocess test uses `--check`, which normalizes line endings before comparing files.
Impact
Both tests can pass when generation stops forcing LF and writes CRLF Python files.
Recommended action
Feed CRLF input through the production formatting path and assert LF on the raw output bytes.