GoogleCloudPlatform / terraform-python-testing-helper

Simple Python test helper for Terraform.
https://pypi.org/project/tftest/
Apache License 2.0
214 stars 31 forks source link

Fix double close on Windows 10 #51

Closed sueastside closed 2 years ago

sueastside commented 2 years ago

Fix double close on Windows 10.0.19044 N/A Build 19044.

Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\threading.py", line 926, in _bootstrap_inner self.run() File "C:\Users\G000737\AppData\Local\Programs\Python\Python37\lib\threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1267, in _readerthread buffer.append(fh.read()) ValueError: I/O operation on closed file.

google-cla[bot] commented 2 years ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

ludoo commented 2 years ago

And thanks for this!