diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-03 17:23:33 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-03 17:29:46 -0400 |
commit | faabd7bc47ca8e1466abb6967a8d1ea43fd0acc3 (patch) | |
tree | ecdc96f197c4d46fee104e7fd9190e830d216f40 /test/functional/test_framework/test_node.py | |
parent | facb56ffaff2e56d84a7626491b0363f13f26d0e (diff) | |
download | bitcoin-faabd7bc47ca8e1466abb6967a8d1ea43fd0acc3.tar.xz |
qa: Use files for stdout/stderr to support Windows
Diffstat (limited to 'test/functional/test_framework/test_node.py')
-rwxr-xr-x | test/functional/test_framework/test_node.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 81ca156f8c..7bf5f5f0d2 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -122,7 +122,7 @@ class TestNode(): assert self.rpc_connected and self.rpc is not None, self._node_msg("Error: no RPC connection") return getattr(self.rpc, name) - def start(self, extra_args=None, stdout=None, stderr=None, *args, **kwargs): + def start(self, extra_args=None, *, stdout=None, stderr=None, **kwargs): """Start the node.""" if extra_args is None: extra_args = self.extra_args @@ -143,7 +143,7 @@ class TestNode(): # add environment variable LIBC_FATAL_STDERR_=1 so that libc errors are written to stderr and not the terminal subp_env = dict(os.environ, LIBC_FATAL_STDERR_="1") - self.process = subprocess.Popen(self.args + extra_args, env=subp_env, stdout=stdout, stderr=stderr, *args, **kwargs) + self.process = subprocess.Popen(self.args + extra_args, env=subp_env, stdout=stdout, stderr=stderr, **kwargs) self.running = True self.log.debug("bitcoind started, waiting for RPC to come up") |