Skip to content

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

Merged
nicoddemus merged 5 commits intopytest-dev:masterfrom
symonk:log-file-subdirs
Jul 11, 2020
Merged

Create subdirectories if they do not exist when specified for log file#7468
nicoddemus merged 5 commits intopytest-dev:masterfrom
symonk:log-file-subdirs

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