Skip to content

Commit

Permalink
Close subprocess STDOUT pipes in the test suite (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee authored Jun 25, 2024
1 parent 5bc361b commit be8e211
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def run(broker_module, *, extra_args=None, **kwargs):
if proc is not None:
proc.terminate()
proc.wait()
if proc.stdout is not None:
proc.stdout.close()


@pytest.fixture
Expand Down

0 comments on commit be8e211

Please sign in to comment.