diff --git a/paramiko/sftp_file.py b/paramiko/sftp_file.py index 11ca327..3cc453f 100644 --- a/paramiko/sftp_file.py +++ b/paramiko/sftp_file.py @@ -464,7 +464,6 @@ class SFTPFile (BufferedFile): raise SFTPError('Expected data') data = msg.get_string() offset, length = self._prefetch_reads.pop(0) - assert length == len(data) self._prefetch_data[offset] = data if len(self._prefetch_reads) == 0: self._prefetch_done = True