summaryrefslogtreecommitdiff
path: root/tests/test_packetizer.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2018-08-22 14:24:42 -0700
committerJeff Forcier <jeff@bitprophet.org>2018-08-22 14:24:42 -0700
commit57201d2de9cd4080480cfed2fe2572fa1c908acb (patch)
treee16850c4aee5ff8be4dc9bdbb992ad3c44dfcdaa /tests/test_packetizer.py
parent60a89316aa817fb3ac03b7bf17572a69e928f6a0 (diff)
downloadparamiko-57201d2de9cd4080480cfed2fe2572fa1c908acb.tar.gz
Bump black up to 18.6b4
Diffstat (limited to 'tests/test_packetizer.py')
-rw-r--r--tests/test_packetizer.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_packetizer.py b/tests/test_packetizer.py
index dbe5993e..6920f08e 100644
--- a/tests/test_packetizer.py
+++ b/tests/test_packetizer.py
@@ -38,7 +38,6 @@ x1f = byte_chr(0x1f)
class PacketizerTest(unittest.TestCase):
-
def test_1_write(self):
rsock = LoopSocket()
wsock = LoopSocket()
@@ -121,7 +120,6 @@ class PacketizerTest(unittest.TestCase):
import signal
class TimeoutError(Exception):
-
def __init__(self, error_message):
if hasattr(errno, "ETIME"):
self.message = os.sterror(errno.ETIME)
@@ -129,9 +127,7 @@ class PacketizerTest(unittest.TestCase):
self.messaage = error_message
def timeout(seconds=1, error_message="Timer expired"):
-
def decorator(func):
-
def _handle_timeout(signum, frame):
raise TimeoutError(error_message)