From 1a26f8215de76cb21e4c9100b4a8f766f872ac38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Veres-Szentkir=C3=A1lyi?= Date: Sun, 15 Jul 2012 22:42:59 +0200 Subject: [PATCH] removed assigned but unread variables --- test/test_flow.py | 2 +- test/test_server.py | 2 +- test/tutils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_flow.py b/test/test_flow.py index 03ed9a9a0..a2051eae5 100644 --- a/test/test_flow.py +++ b/test/test_flow.py @@ -143,7 +143,7 @@ class TestServerPlaybackState: s = flow.ServerPlaybackState(None, [r, r2], False, True) assert s.count() == 2 - n = s.next_flow(r) + s.next_flow(r) assert s.count() == 2 diff --git a/test/test_server.py b/test/test_server.py index a4257fada..38d33d902 100644 --- a/test/test_server.py +++ b/test/test_server.py @@ -33,7 +33,7 @@ class SanityMixin: # Port error l.request.port = 1 - rt = self.master.replay_request(l, block=True) + self.master.replay_request(l, block=True) assert l.error diff --git a/test/tutils.py b/test/tutils.py index cfe9bffd1..0e661a4bc 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -50,7 +50,7 @@ class TestMaster(flow.FlowMaster): self.testq = testq def handle(self, m): - f = flow.FlowMaster.handle(self, m) + flow.FlowMaster.handle(self, m) m._ack()