summaryrefslogtreecommitdiffhomepage
path: root/tests/test_packetizer.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2016-12-05 20:56:24 -0800
committerJeff Forcier <jeff@bitprophet.org>2016-12-05 20:56:24 -0800
commitc6b209dd5690807d8e8e55518c409b164ac2e383 (patch)
tree86f5f9765a9e57a00550b16e60f9be23218e2ada /tests/test_packetizer.py
parent40d6cad7774588f9c2b8a32e3dc9afb7e5a8f477 (diff)
Looks like skipIf was added in 2.7? Dies on 2.6
Diffstat (limited to 'tests/test_packetizer.py')
-rw-r--r--tests/test_packetizer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_packetizer.py b/tests/test_packetizer.py
index 5fa54e4a..15a7c93f 100644
--- a/tests/test_packetizer.py
+++ b/tests/test_packetizer.py
@@ -75,8 +75,9 @@ class PacketizerTest (unittest.TestCase):
self.assertEqual(1, m.get_int())
self.assertEqual(900, m.get_int())
- @unittest.skipIf(sys.platform.startswith("win"), 'no SIGALRM on windows')
def test_3_closed(self):
+ if sys.platform.startswith("win"): # no SIGALRM on windows
+ return
rsock = LoopSocket()
wsock = LoopSocket()
rsock.link(wsock)