client: fix ResourceWarning

This fixes following warning
```
client/tests/run_isolated_test.py:1080: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/run_isolated_testtajwfu8y/ir/subdir/child_a' mode='w' encoding='UTF-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
```

Bug: 1010816
Change-Id: I75594c20da05c572733dce6fc7e045ba1e7d0eb7
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/2279452
Reviewed-by: Ye Kuang <yekuang@google.com>
Commit-Queue: Ye Kuang <yekuang@google.com>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Cr-Mirrored-From: https://chromium.googlesource.com/infra/luci/luci-py
Cr-Mirrored-Commit: fa0d500c495b8853fbb10f0ce3cdbf107f8a4115
1 file changed
tree: 61c4beb4fbae51f9edf464ed9d4ec3c56001fde8
  1. example/
  2. libs/
  3. tests/
  4. third_party/
  5. tools/
  6. utils/
  7. .gitignore
  8. auth.py
  9. cipd.py
  10. isolate.py
  11. isolate_format.py
  12. isolate_storage.py
  13. isolated_format.py
  14. isolateserver.py
  15. LICENSE
  16. local_caching.py
  17. LUCI_CONTEXT.md
  18. OWNERS
  19. PRESUBMIT.py
  20. README.md
  21. README.py
  22. run_isolated.py
  23. swarming.py
  24. test.py
  25. trace_inputs.py
  26. unittest.cfg
  27. update_isolated.sh
  28. WATCHLISTS
README.md

LUCI Python Client

This is the Python Client code for LUCI. It's part of the main python repo, and is also mirrored into a standalone client-py repo.

To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.

License

This project is licensed under Apache v2.0 license. See LICENSE for details.