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

Raise exception if trying to create file in read-only directory #208

Merged
merged 2 commits into from
Jun 16, 2017

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen requested a review from jmcgeheeiv June 13, 2017 20:33
…x only)

- fixed assertRaisesIOError and assertRaisesOSError
- never allow adding of already existing file or directory
- fixes pytest-dev#203
- there seems to be no use case for this, and it makes the code simpler
@mrbean-bremen mrbean-bremen merged commit bc80ff8 into pytest-dev:master Jun 16, 2017
@mrbean-bremen mrbean-bremen deleted the ro-dir branch June 18, 2017 19:56
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.

Creating files in read-only directory is possible
1 participant