◐ Shell
clean mode source ↗

Update test_utf8source from v3.14.3 and implement it by youknowone · Pull Request #7318 · RustPython/RustPython

@youknowone marked this pull request as ready for review

March 3, 2026 00:38

coderabbitai[bot]

coderabbitai[bot]

coderabbitai[bot]

coderabbitai[bot]

CPython Developers and others added 3 commits

March 3, 2026 21:27
- Validate '#' is preceded only by whitespace/formfeed (PEP 263)
- Normalize UTF-8 encoding aliases (utf-8, utf_8, utf8, etc.)
Remove @unittest.expectedFailure decorators from:
- test_source_encoding: test_encoding_on_first_line, test_encoding_on_second_line, test_bom_conflict
- test_runpy: test_encoding

youknowone added a commit to youknowone/RustPython that referenced this pull request

Mar 22, 2026
Update test_utf8source from v3.14.3 and implement it