File fs-testing-fix-missing-paramiko.diff of Package python-fs

Index: b/fs/tests/test_expose.py
===================================================================
--- a/fs/tests/test_expose.py
+++ b/fs/tests/test_expose.py
@@ -31,29 +31,26 @@ try:
     from fs import sftpfs
     from fs.expose.sftp import BaseSFTPServer
 except ImportError:
-    if not PY3:
-        raise
-
-import logging
-logging.getLogger('paramiko').setLevel(logging.ERROR)
-logging.getLogger('paramiko.transport').setLevel(logging.ERROR)
-
-
-class TestSFTPFS(TestRPCFS):
-
-    __test__ = not PY3
-
-    def makeServer(self,fs,addr):
-        return BaseSFTPServer(addr,fs)
-
-    def setUp(self):
-        self.startServer()
-        self.fs = sftpfs.SFTPFS(self.server_addr, no_auth=True)
-
-    def bump(self):
-        # paramiko doesn't like being bumped, just wait for it to timeout.
-        # TODO: do this using a paramiko.Transport() connection
-        pass
+    pass
+else:
+    import logging
+    logging.getLogger('paramiko').setLevel(logging.ERROR)
+    logging.getLogger('paramiko.transport').setLevel(logging.ERROR)
+
+
+    class TestSFTPFS(TestRPCFS):
+
+        def makeServer(self,fs,addr):
+            return BaseSFTPServer(addr,fs)
+
+        def setUp(self):
+            self.startServer()
+            self.fs = sftpfs.SFTPFS(self.server_addr, no_auth=True)
+
+        def bump(self):
+            # paramiko doesn't like being bumped, just wait for it to timeout.
+            # TODO: do this using a paramiko.Transport() connection
+            pass
 
 
 try: