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

Do not set size to 0 on setting initial content #662

Merged
merged 2 commits into from
Jan 28, 2022

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen commented Jan 28, 2022

Correctly handle reading/writing pipes via file

- caused file system file to be wrong for non-empty files
- tests: add contextmanager version of assert_raises_os_error
- fixes pytest-dev#660
- make numBytes argument optional
- open real pipe as file and store it if needed
- fixes pytest-dev#661
@mrbean-bremen mrbean-bremen merged commit 9f486bc into pytest-dev:master Jan 28, 2022
@mrbean-bremen mrbean-bremen deleted the fix-diskspace branch February 14, 2022 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant