issues: 269348789
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
269348789 | MDU6SXNzdWUyNjkzNDg3ODk= | 1668 | Remove use of allow_cleanup_failure in test_backends.py | 1217238 | open | 0 | 6 | 2017-10-28T20:47:31Z | 2019-09-29T20:07:03Z | MEMBER | This exists for the benefit of Windows, on which trying to delete an open file results in an error. But really, it would be nice to have a test suite that doesn't leave any temporary files hanging around. The main culprit is tests like this, where opening a file triggers an error:
The way to fix this is to use mocking of some sort, to intercept calls to backend file objects and close them afterwards. |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1668/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | issue |