From 90e00d489188d7637231dd4e7c25b3b0623db01b Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Thu, 9 Nov 2017 17:25:45 -0800 Subject: Derp, some stuff runs this method w/o run_kwargs --- tests/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_client.py') diff --git a/tests/test_client.py b/tests/test_client.py index 21700876..53c95be7 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -159,7 +159,7 @@ class ClientTest(unittest.TestCase): # If the kill event was set at this point, it indicates an early # shutdown, so bail out now and don't even try setting up a Transport # (which will just verbosely die.) - if kill_event.is_set(): + if kill_event and kill_event.is_set(): self.socks.close() return self.ts = paramiko.Transport(self.socks) -- cgit v1.2.3