8000 pytest: ensure expected string's line sep is \n by aisk · Pull Request #245 · go-python/gpython · GitHub
[go: up one dir, main page]

Skip to content

pytest: ensure expected string's line sep is \n #245

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
merged 1 commit into from
Jul 4, 2025

Conversation

aisk
Copy link
Contributor
@aisk aisk commented Jul 4, 2025

Some tests failed on my Windows machine, and I found that some excepted output are using "\r\n" as line separator. The tests passed on Github Actions's Windows environment, so I guess git have some configs that will convert the line separator to the default one in current OS ("\r\n" on Windows).

So I think we still need to fix it, because someone else may have this git config too.

Copy link
Collaborator
@ncw ncw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good idea. Thank you.

@ncw ncw merged commit bbe4726 into go-python:main Jul 4, 2025
6 checks passed
@aisk aisk deleted the fix-windows-test branch July 4, 2025 17:04
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.

2 participants
@aisk 3202 @ncw
0