Skip to content

Create subdirectories if they do not exist when specified for log file #7468

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 5 commits into from
Jul 11, 2020

Conversation

symonk
Copy link
Member

@symonk symonk commented Jul 8, 2020

Creates subdirectories if they do not exist for both --log-file and appropriate log_file ini marker for the log file.

closes #7467

@symonk symonk changed the title Log file subdirs Create subdirectories if they do not exist when specified for log file Jul 8, 2020
@symonk
Copy link
Member Author

symonk commented Jul 8, 2020

some pathing issues on py35, will investigate tomorrow

@nicoddemus
Copy link
Member

Thanks @symonk!

I removed some of the tests because they are not really needed. 👍

@nicoddemus nicoddemus merged commit 7f467eb into pytest-dev:master Jul 11, 2020
@symonk symonk deleted the log-file-subdirs branch October 7, 2020 21:50
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.

--log-file should create subdirectories
2 participants