summaryrefslogtreecommitdiff
path: root/src/buildstream/testing/runcli.py
diff options
context:
space:
mode:
authorbst-marge-bot <marge-bot@buildstream.build>2020-08-05 21:22:13 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2020-08-05 21:22:13 +0000
commit981ad3697a9197da38f2ec4a867096d7a1ad144c (patch)
treed0e1ff50b497a0a83b58b175287c3301dd711ce9 /src/buildstream/testing/runcli.py
parent104c715b5da2b32abfe317f81f93beb9890e4ff6 (diff)
parentf45f33b90c76556a216818a0f178fdcaa7606015 (diff)
downloadbuildstream-981ad3697a9197da38f2ec4a867096d7a1ad144c.tar.gz
Merge branch 'bschubert/update-to-pytest-6' into 'master'
requirements.txt: Update dependencies Closes #1377 See merge request BuildStream/buildstream!2010
Diffstat (limited to 'src/buildstream/testing/runcli.py')
-rw-r--r--src/buildstream/testing/runcli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/testing/runcli.py b/src/buildstream/testing/runcli.py
index 1e868609a..712e6811a 100644
--- a/src/buildstream/testing/runcli.py
+++ b/src/buildstream/testing/runcli.py
@@ -372,7 +372,7 @@ class Cli:
with open(os.devnull) as devnull:
sys.stdin = devnull
capture_kind = FDCaptureBinary if binary_capture else FDCapture
- capture = MultiCapture(out=True, err=True, in_=False, Capture=capture_kind)
+ capture = MultiCapture(out=capture_kind(1), err=capture_kind(2), in_=None)
capture.start_capturing()
try: