Browse Source

up paramoko tests

Filipp Frizzy 7 years ago
parent
commit
c45077eb15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dulwich/contrib/test_paramiko_vendor.py

+ 1 - 1
dulwich/contrib/test_paramiko_vendor.py

@@ -140,7 +140,7 @@ class ParamikoSSHVendorTests(TestCase):
     def _run(self):
         try:
             conn, addr = self.socket.accept()
-        except:
+        except socket.error:
             return False
         self.transport = paramiko.Transport(conn)
         self.addCleanup(self.transport.close)