diff options
author | Gabi Davar <grizzly.nyo@gmail.com> | 2016-08-24 09:08:20 +0300 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-12-05 20:09:17 -0800 |
commit | be200e712b5514387ee578e886ec36ae640800e1 (patch) | |
tree | c9ad47699899a9df6ef9450094b9352fbb2f6138 /tests | |
parent | 594ecebef6b3158421c86a7ee139eed1b58694ce (diff) |
skip test on windows - no SIGALRM.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_packetizer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_packetizer.py b/tests/test_packetizer.py index 8faec03c..5fa54e4a 100644 --- a/tests/test_packetizer.py +++ b/tests/test_packetizer.py @@ -20,6 +20,7 @@ Some unit tests for the ssh2 protocol in Transport. """ +import sys import unittest from hashlib import sha1 @@ -33,7 +34,6 @@ from paramiko.common import byte_chr, zero_byte x55 = byte_chr(0x55) x1f = byte_chr(0x1f) - class PacketizerTest (unittest.TestCase): def test_1_write(self): @@ -75,6 +75,7 @@ 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): rsock = LoopSocket() wsock = LoopSocket() |