This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch gokcen/refactor_runcli in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 68fbc2b0cc4b8825e293f79efb5cb310072b1244 Author: Gökçen Nurlu <[email protected]> AuthorDate: Tue Nov 6 12:30:20 2018 +0000 fixup! fixup! fixup! test --- tests/testutils/runcli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testutils/runcli.py b/tests/testutils/runcli.py index 7415177..f9418e4 100644 --- a/tests/testutils/runcli.py +++ b/tests/testutils/runcli.py @@ -299,7 +299,8 @@ class Cli(CliRunner): return result def invoke(self, cli, args=None, color=False, binary_capture=False, **extra): - r = super().invoke(cli, args, input=os.devnull, color=color) + with open(os.devnull) as devnull: + r = super().invoke(cli, args, input=devnull, color=color) return Result(exit_code=r.exit_code, exception=r.exception,
