removed assigned but unread variables

This commit is contained in:
András Veres-Szentkirályi 2012-07-15 22:42:59 +02:00
parent da496669c2
commit 1a26f8215d
3 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ class TestServerPlaybackState:
s = flow.ServerPlaybackState(None, [r, r2], False, True) s = flow.ServerPlaybackState(None, [r, r2], False, True)
assert s.count() == 2 assert s.count() == 2
n = s.next_flow(r) s.next_flow(r)
assert s.count() == 2 assert s.count() == 2

View File

@ -33,7 +33,7 @@ class SanityMixin:
# Port error # Port error
l.request.port = 1 l.request.port = 1
rt = self.master.replay_request(l, block=True) self.master.replay_request(l, block=True)
assert l.error assert l.error

View File

@ -50,7 +50,7 @@ class TestMaster(flow.FlowMaster):
self.testq = testq self.testq = testq
def handle(self, m): def handle(self, m):
f = flow.FlowMaster.handle(self, m) flow.FlowMaster.handle(self, m)
m._ack() m._ack()