-
-
Notifications
You must be signed in to change notification settings - Fork 691
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
extra_template_vars plugin hook #542
Conversation
I'm getting this weird failure again:
I saw this the other day too, but managed to avoid it by skipping any code that messed around with temporary files. Baffled as to why this is showing up now, as none of the changes I'm making here have any relevance to the way temporary files are created or the current working directory is set. I understand the root cause here to be that the working directory for the tests was deleted while the tests were still running, which would seem to indicate that something to do with a |
I bet that error is something to do with this: datasette/tests/test_plugins.py Lines 195 to 197 in e06e083
|
I've confirmed that it's the
So for some reason setting |
Here's what
pallets/click#395 is a four year old issue suggesting allowing it to have a parent tmp directory passed to it, but since that issue was never closed I don't think it's going to help me. |
This looks relevant: pytest-dev/pytest#1235 - "pytest explodes if getcwd fails" |
* extra_template_vars plugin hook Closes #541 * Workaround for cwd bug Based on pytest-dev/pytest#1235 (comment)
* extra_template_vars plugin hook Closes #541 * Workaround for cwd bug Based on pytest-dev/pytest#1235 (comment)
Refs #541