summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2016-12-05 20:10:02 -0800
committerJeff Forcier <jeff@bitprophet.org>2016-12-05 20:10:02 -0800
commit0ccca706da838f527efc081b9e1aef35e21d86c8 (patch)
treec58bbbe7c748752dc3425bfb9975d2f209e7879e
parentd55e7c382e481957bc8b5ce40a58090eb4ae4b6c (diff)
parent8bfc5c864fd4539ebd23b19d4335620d53c3e472 (diff)
Merge branch '2.0'
-rw-r--r--sites/www/changelog.rst2
-rw-r--r--tests/test_packetizer.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst
index 51238f32..3f827599 100644
--- a/sites/www/changelog.rst
+++ b/sites/www/changelog.rst
@@ -2,6 +2,8 @@
Changelog
=========
+* :support:`801 (1.17+)` Skip a Unix-only test when on Windows; thanks to
+ Gabi Davar.
* :support:`792 (1.17+)` Minor updates to the README and demos; thanks to Alan
Yee.
* :feature:`780 (1.18+)` (also :issue:`779`, and may help users affected by
diff --git a/tests/test_packetizer.py b/tests/test_packetizer.py
index ccfe26bd..123df75f 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
@@ -34,7 +35,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):
@@ -84,6 +84,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()