Skip to content

test: Use byte literals for Python3 compatibility #31030

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

Merged

Conversation

RLovelett
Copy link
Contributor

Because the stream is opened in binary mode. On Python3 that requires the replace to also operate in binary mode.

Because the stream is opened in binary mode. On Python3 that requires
the replace to also operate in binary mode.
@CodaFi
Copy link
Contributor

CodaFi commented Apr 15, 2020

Cool!

@swift-ci smoke test and merge

@CodaFi
Copy link
Contributor

CodaFi commented Apr 15, 2020

@swift-ci smoke test Linux

@RLovelett
Copy link
Contributor Author

RLovelett commented Apr 15, 2020

@CodaFi the linux tests failed but I don't know how this caused it. The line related to this test says: 00:15:13 PASS: Swift(linux-x86_64) :: Syntax/tokens_unknown_and_invalid.swift (8440 of 13079).

Suggestions?

@compnerd
Copy link
Member

@swift-ci please test Windows platform

@CodaFi
Copy link
Contributor

CodaFi commented Apr 15, 2020

It’s not your failure.

@CodaFi CodaFi merged commit 4e2a78c into swiftlang:master Apr 15, 2020
@RLovelett RLovelett deleted the python3-test-replace-explicit-binary branch April 15, 2020 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants