paramiko/tests
Bobby Impollonia 0a013f829e Remove comparison between int and str
The code had been doing 'n < self.__in_buffer' when it
wanted to be doing 'n < len(self.__in_buffer)'

In Python 2.x, this comparison (int < str) is always True.
I found this while porting to Python 3 where it raises
an error.

The code has been working without complaints because always
taking the true branch of this conditional is actually fine.
We don't need the false branch, so drop the check entirely.
2012-03-10 18:10:23 -08:00
..
loop.py Remove comparison between int and str 2012-03-10 18:10:23 -08:00
stub_sftp.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_auth.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_buffered_pipe.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_client.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_dss.key [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-92] 2004-09-25 22:07:59 +00:00
test_dss_password.key [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-19] 2005-06-28 07:24:10 +00:00
test_file.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_hostkeys.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_kex.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_message.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_packetizer.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_pkey.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_rsa.key [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-92] 2004-09-25 22:07:59 +00:00
test_rsa_password.key [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-19] 2005-06-28 07:24:10 +00:00
test_sftp.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_sftp_big.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_transport.py Fix FSF address 2012-02-25 03:11:54 -05:00
test_util.py Fix FSF address 2012-02-25 03:11:54 -05:00