ssh-audit/test
Jürgen Gmach ec1dda8d7f
Remove some more Python 2 leftovers (#37)
* Remove mypy job for Python 2

modified:   tox.ini

* Remove Python 2 compatibility import

modified:   ssh-audit.py

* Remove compatibility import for BytesIO and StringIO

This is no longer necessary, as support for Python 2 was dropped.

modified:   ssh-audit.py

* Remove `text-type` compatibility layer

... as support for Python 2 was dropped already.

modified:   ssh-audit.py

* Remove `binary-type` compatibility layer

... as support for Python 2 was dropped already.

modified:   ssh-audit.py

* Remove try-except block for typing

... as since Python 3.5 it is included in the standard library.

modified:   ssh-audit.py

* Move typing import to top of module

modified:   ssh-audit.py

* Remove obsolete encoding declaration

modified:   ssh-audit.py

* Apply pyupgrade on ssh-audit.py

pyupgrade is a tool which updates Python code to modern syntax

modified:   ssh-audit.py

* Remove Python 2 compatibility from conftest.py

modified:   test/conftest.py

* Remove Python 2 compatibility from test_auditconf.py

modified:   test/test_auditconf.py

* Remove Python 2 compatibility from test_banner.py

modified:   test/test_banner.py

* Remove Python 2 compatibility from test_buffer.py

modified:   test/test_buffer.py

* Remove Python 2 compatibility from test_errors.py

modified:   test/test_errors.py

* Remove Python 2 compatibility from test_output.py

modified:   test/test_output.py

* Remove Python 2 compatibility from test_resolve.py

modified:   test/test_resolve.py

* Remove Python 2 compatibility from test_socket.py

modified:   test/test_socket.py

* Remove Python 2 compatibility from test_software.py

modified:   test/test_software.py

* Remove Python 2 compatibility from test_ssh_algorithm.py

modified:   test/test_ssh_algorithm.py

* Remove Python 2 compatibility from test_ssh1.py

modified:   test/test_ssh1.py

* Remove Python 2 compatibility from test_ssh2.py

modified:   test/test_ssh2.py

* Remove Python 2 compatibility and Py2 only tests

... from test_utils.py.

modified:   test/test_utils.py

* Remove Python 2 compatibility from test_version_compare.py

modified:   test/test_version_compare.py

* Remove Python 2 job from appveyor config

This was done blindly, as it is unclear whether appveyor runs at all.

modified:   .appveyor.yml
2020-06-15 17:05:31 -04:00
..
docker Marked host key type 'ssh-rsa' as weak due to practical SHA-1 collisions. 2020-02-08 23:56:54 -05:00
stubs Upgrade to Mypy 0.470. Add colorama stub. Fix identation. 2017-01-23 19:34:06 +02:00
tools Fix tox and finally make Travis green (#29) 2020-06-08 16:38:22 -04:00
conftest.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_auditconf.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_banner.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_buffer.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_errors.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_output.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_resolve.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_socket.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_software.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_ssh1.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_ssh2.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_ssh_algorithm.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_utils.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00
test_version_compare.py Remove some more Python 2 leftovers (#37) 2020-06-15 17:05:31 -04:00