aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Chiang <james.chiangwu@gmail.com>2019-11-05 08:59:40 +0100
committerJames Chiang <james.chiangwu@gmail.com>2019-11-05 12:55:52 +0100
commita8dea4552412668c2914b6395ef543341a9898cd (patch)
tree4fd4c8159362708760753f20584c8592045ee249
parent9c7806e4bf113bee6c32cff7b46493fd1a5aa0ba (diff)
TestShell: Simplify default setting of num_nodes
-rw-r--r--test/functional/test_framework/test_shell.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/test_framework/test_shell.py b/test/functional/test_framework/test_shell.py
index 97fcc3fa47..fe3d2bb1fa 100644
--- a/test/functional/test_framework/test_shell.py
+++ b/test/functional/test_framework/test_shell.py
@@ -29,8 +29,7 @@ class TestShell:
# Num_nodes parameter must be set
# by BitcoinTestFramework child class.
- self.num_nodes = kwargs.get('num_nodes', 1)
- kwargs.pop('num_nodes', None)
+ self.num_nodes = 1
# User parameters override default values.
for key, value in kwargs.items():