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

Write rewritten code using file.write(marshal.dumps()) #3509

Merged
merged 1 commit into from
May 26, 2018

Conversation

nicoddemus
Copy link
Member

This works around the fact that some libraries might monkey patch
the file object, so the previous approach of marshal.dump(co, file)
breaks because file is not a built-in file object anymore.

Fix #3503

This works around the fact that some libraries might monkey patch
the file object, so the previous approach of marshal.dump(co, file)
breaks because file is not a built-in file object anymore.

Fix pytest-dev#3503
Copy link
Member

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

👍

@RonnyPfannschmidt
Copy link
Member

mergable after green ci :) not sure if i#ll still be awake

@nicoddemus
Copy link
Member Author

Thanks!

I've hit the "Wait for successful checks" check-box, let's see if it works. 😉

@nicoddemus
Copy link
Member Author

Let's land #3485 first (long overdue), then I will rebase and fix any formatting issues here.

@nicoddemus
Copy link
Member Author

#3485 has landed but no need to rebase this, I did it locally and no formatting changes were necessary. 👍

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 92.751% when pulling b5a94d8 on nicoddemus:marshal-3503 into 65bc43d on pytest-dev:master.

@nicoddemus
Copy link
Member Author

Unrelated 😢

@nicoddemus nicoddemus merged commit 1d451c7 into pytest-dev:master May 26, 2018
@nicoddemus nicoddemus deleted the marshal-3503 branch May 26, 2018 00:24
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