aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/tests/network
diff options
context:
space:
mode:
authorPhilip Paquette <pcpaquette@gmail.com>2019-03-03 13:56:26 -0500
committerPhilip Paquette <pcpaquette@gmail.com>2019-04-18 11:24:56 -0400
commit88a5715f8c53852a6e231315d4aca361df2e6493 (patch)
treee4120c154a340e187effa601f7fc389730d3e0a2 /diplomacy/tests/network
parentf3dcde6cd37e1ef1bb7cecf0e1a948ec30222c4f (diff)
Updated pylint to v2.3.0
Diffstat (limited to 'diplomacy/tests/network')
-rw-r--r--diplomacy/tests/network/test_real_game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/diplomacy/tests/network/test_real_game.py b/diplomacy/tests/network/test_real_game.py
index a16e4f6..94ecc19 100644
--- a/diplomacy/tests/network/test_real_game.py
+++ b/diplomacy/tests/network/test_real_game.py
@@ -254,7 +254,7 @@ def on_message_received(game, notification):
raise AssertionError(
'%s/there are still messages to send to %s (%d) before receiving messages from him. Received: %s'
% (power_name, power_from, expected_message.time_sent, notification.message.message))
- elif expected_message.sender == power_from:
+ if expected_message.sender == power_from:
if notification.message.is_global():
if not (expected_message.recipient == GLOBAL
and expected_message.message == notification.message.message):