test: use zero-argument super() shortcut (Python 3.0+)
as defined in PEP 3135:
"The new syntax:
super()
is equivalent to:
super(__class__, <firstarg>)
where __class__ is the class that the method was defined in, and <firstarg> is
the first parameter of the method (normally self for instance methods, and cls
for class methods)."
This commit is contained in:
1 parent
5f19155e5b
commit
0956e46bff
3 files changed
+9
-9
No files matched your search
@@ -29,7 +29,7 @@ class TxnMallTest(BitcoinTestFramework):
|
||||
|
||||
def setup_network(self):
|
||||
# Start with split network:
|
||||
super(TxnMallTest, self).setup_network()
|
||||
super().setup_network()
|
||||
disconnect_nodes(self.nodes[1], 2)
|
||||
disconnect_nodes(self.nodes[2], 1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user