Skip to content

Commit

Permalink
Fix streaming with python3+ (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
apatard and pre-commit-ci[bot] authored Mar 29, 2022
1 parent 54f3483 commit 267d4df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_vagrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def test_streaming_output(vm_dir):
"""
Test streaming output of up or reload.
"""
test_string = "Waiting for machine to boot."
test_string = "Machine already provisioned"
v = vagrant.Vagrant(vm_dir)

with pytest.raises(subprocess.CalledProcessError):
Expand Down
1 change: 0 additions & 1 deletion vagrant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,6 @@ def _stream_vagrant_command(self, args):
env=self.env,
stdout=subprocess.PIPE,
stderr=err_fh,
bufsize=1,
)

# Iterate over output lines.
Expand Down

0 comments on commit 267d4df

Please sign in to comment.