Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set errors=backslashreplace #5431

Closed
wants to merge 1 commit into from
Closed

set errors=backslashreplace #5431

wants to merge 1 commit into from

Conversation

lucylq
Copy link
Contributor

@lucylq lucylq commented Jul 15, 2024

See: https://fb.workplace.com/groups/4571909969591489/permalink/7818394354943018/

From https://docs.python.org/3.9/library/io.html#io.TextIOWrapper:

'backslashreplace' causes malformed data to be replaced by a backslashed escape sequence. 

This should still show us the error, but without crashing the test.

Copy link

vercel bot commented Jul 15, 2024

@lucylq is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 15, 2024
@@ -1,3 +1,4 @@
import io

Check warning

Code scanning / lintrunner

UFMT/format Warning

Run lintrunner -a to apply this patch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants