Martin Packman: So, the handling has been moved into _translate_io_exception. I also added tests, as you requested.
I was told on IRC that I should make _translate_io_exception static/class method, so tests actually won't be depended on SFTP transport itself - I had to make Transport._translate_error static too, because _translate_io_exception was invoking it.
Martin Packman: So, the handling has been moved into _translate_ io_exception. I also added tests, as you requested.
I was told on IRC that I should make _translate_ io_exception static/class method, so tests actually won't be depended on SFTP transport itself - I had to make Transport. _translate_ error static too, because _translate_ io_exception was invoking it.