Skip to content

Commit 267d4df

Browse files
Fix streaming with python3+ (#103)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 54f3483 commit 267d4df

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/test_vagrant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ def test_streaming_output(vm_dir):
596596
"""
597597
Test streaming output of up or reload.
598598
"""
599-
test_string = "Waiting for machine to boot."
599+
test_string = "Machine already provisioned"
600600
v = vagrant.Vagrant(vm_dir)
601601

602602
with pytest.raises(subprocess.CalledProcessError):

vagrant/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,6 @@ def _stream_vagrant_command(self, args):
10391039
env=self.env,
10401040
stdout=subprocess.PIPE,
10411041
stderr=err_fh,
1042-
bufsize=1,
10431042
)
10441043

10451044
# Iterate over output lines.

0 commit comments

Comments
 (0)