in commit cb71adbf9338c8a3f8348c936d4c1caa1086a33f:
no need to pass the message type, since the message already knows its own type:
0diff --git a/test/functional/p2p_invalid_messages.py b/test/functional/p2p_invalid_messages.py
1index f1ef5c6414..ad918bf3bb 100755
2--- a/test/functional/p2p_invalid_messages.py
3+++ b/test/functional/p2p_invalid_messages.py
4@@ -124,7 +124,8 @@ class InvalidMessagesTest(BitcoinTestFramework):
5 conn.sync_with_ping(timeout=1)
6 self.nodes[0].disconnect_p2ps()
7
8- def test_oversized_msg(self, msg_type, msg, size):
9+ def test_oversized_msg(self, _, msg, size):
10+ msg_type = msg.msgtype.decode('ascii')
11 self.log.info("Test {} message of size {} is logged as misbehaving".format(msg_type, size))
12 with self.nodes[0].assert_debug_log(['Misbehaving', '{} message size = {}'.format(msg_type, size)]):
13 self.nodes[0].add_p2p_connection(P2PInterface()).send_and_ping(msg)