From c6b209dd5690807d8e8e55518c409b164ac2e383 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Mon, 5 Dec 2016 20:56:24 -0800 Subject: Looks like skipIf was added in 2.7? Dies on 2.6 --- tests/test_packetizer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_packetizer.py') 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) -- cgit v1.2.3