issue_comments: 508873079
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/pull/542#issuecomment-508873079 | https://api.github.com/repos/simonw/datasette/issues/542 | 508873079 | MDEyOklzc3VlQ29tbWVudDUwODg3MzA3OQ== | 9599 | 2019-07-05T22:25:33Z | 2019-07-05T22:25:33Z | OWNER | I'm getting this weird failure again: ``` self = <click.testing.CliRunner object at 0x7f4295b7bd30> @contextlib.contextmanager def isolated_filesystem(self): """A context manager that creates a temporary folder and changes the current working directory to it for isolated filesystem tests. """ > cwd = os.getcwd() E FileNotFoundError: [Errno 2] No such file or directory ``` 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 `tmpdir` fixture is at fault. | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 464786717 |