Commit 63911bd9 authored by Vincent Pelletier's avatar Vincent Pelletier

Drop extra return.

parent eb667c7c
...@@ -353,7 +353,6 @@ class NeoUnitTestBase(NeoTestBase): ...@@ -353,7 +353,6 @@ class NeoUnitTestBase(NeoTestBase):
self.assertEqual(type(packet), Packets.Error) self.assertEqual(type(packet), Packets.Error)
if decode: if decode:
return packet.decode() return packet.decode()
return protocol.decode_table[type(packet)](packet._body)
return packet return packet
def checkAskPacket(self, conn, packet_type, decode=False): def checkAskPacket(self, conn, packet_type, decode=False):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment