aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-10-01 11:36:25 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-10-03 10:59:49 +0200
commit1f60d455048b7c0af6a5fdc032022d3fac37e790 (patch)
tree9fe1a09ec3aca09ef5f1c7e900dfc60572cd2c82 /qa/rpc-tests/test_framework
parent624a007f476027457b32e0bd42584e67bb003317 (diff)
downloadbitcoin-1f60d455048b7c0af6a5fdc032022d3fac37e790.tar.xz
[qa] mininode: Only allow named args in wait_until
Github-Pull: #8857 Rebased-From: fa666094cf5b9ac4a7c1732a7ffa001afffcd938
Diffstat (limited to 'qa/rpc-tests/test_framework')
-rwxr-xr-xqa/rpc-tests/test_framework/mininode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py
index 0b7b17cdb5..88a3b7e0f7 100755
--- a/qa/rpc-tests/test_framework/mininode.py
+++ b/qa/rpc-tests/test_framework/mininode.py
@@ -1320,7 +1320,7 @@ class msg_reject(object):
% (self.message, self.code, self.reason, self.data)
# Helper function
-def wait_until(predicate, attempts=float('inf'), timeout=float('inf')):
+def wait_until(predicate, *, attempts=float('inf'), timeout=float('inf')):
attempt = 0
elapsed = 0