From 94b79ca99078dfbe2956de1dc9110e2384251c5d Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Mon, 10 Aug 2015 15:31:04 +0100 Subject: [PATCH] forgot to remove test for linux keep alive continuation from 8605f74 --- tests/test_IS.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/test_IS.py b/tests/test_IS.py index f62fdbc..f1b2da9 100644 --- a/tests/test_IS.py +++ b/tests/test_IS.py @@ -169,10 +169,6 @@ class TC_IS(unittest.TestCase): self.ais.sock.setblocking(mox.IgnoreArg()) self.ais.sock.settimeout(mox.IgnoreArg()) self.ais.sock.setsockopt(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg()) - if sys.platform not in ['cygwin', 'win32']: - self.ais.sock.setsockopt(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg()) - self.ais.sock.setsockopt(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg()) - self.ais.sock.setsockopt(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg()) self.ais.sock.recv(mox.IgnoreArg()).AndReturn(b"junk") self.ais.close() # part 3 - everything going well @@ -181,10 +177,6 @@ class TC_IS(unittest.TestCase): self.ais.sock.setblocking(mox.IgnoreArg()) self.ais.sock.settimeout(mox.IgnoreArg()) self.ais.sock.setsockopt(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg()) - if sys.platform not in ['cygwin', 'win32']: - self.ais.sock.setsockopt(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg()) - self.ais.sock.setsockopt(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg()) - self.ais.sock.setsockopt(mox.IgnoreArg(), mox.IgnoreArg(), mox.IgnoreArg()) self.ais.sock.recv(mox.IgnoreArg()).AndReturn(b"# server banner") mox.Replay(self.ais.sock) self.m.ReplayAll()