diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-10-01 11:36:25 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-10-02 12:21:14 +0200 |
commit | fa666094cf5b9ac4a7c1732a7ffa001afffcd938 (patch) | |
tree | dfd0360b6b7dabfa04534e8a9e54f5c0e23504dd /qa/rpc-tests/test_framework | |
parent | 6faffb8a83db3f209a303a4464dbdd597faad5a4 (diff) | |
download | bitcoin-fa666094cf5b9ac4a7c1732a7ffa001afffcd938.tar.xz |
[qa] mininode: Only allow named args in wait_until
Diffstat (limited to 'qa/rpc-tests/test_framework')
-rwxr-xr-x | qa/rpc-tests/test_framework/mininode.py | 2 |
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 |