Commit Graph

8 Commits (b5993f489380b7a6295feb675c390e77275e4e4e)

Author SHA1 Message Date
Alex Willmer 1fe55f1c67 CI: Add OS release coverage: CentOS 5
Only the Mitogen unit tests will run against CentOS 5, providing atleast some
Python 2.4test coverage. There is no version of Ansible that supports Python
2.4 that is also supported by Mitogen 0.3.

The SSH key exchange argument is to persuade newer SSH clients to talk with
such an old SSH server.

See https://www.openssh.org/legacy.html
1 week ago
Alex Willmer 1287d58a54 Use with open(): ... to ensure file objects get closed 4 years ago
David Wilson 934d8ac139 issue #426: fix 2->3 issue in plain_old_module. 7 years ago
David Wilson 6cbf34d5fe tests: another smattering of 3.x type/API fixes. 8 years ago
David Wilson ec176bf1f8 tests: unittest2 import behaviour appears to differ between 2/3.
In 2 the module is loaded as __main__
In 3 it has its actual name.
8 years ago
Alex Willmer 3831ac360f Replace all calls to file() with open()
Although these are synonyms in Python 2.x, when using MyPy to typecheck
code use of file() causes spurious errors.

This commit also serves as one small step to Python 3.x compatibility,
since 3.x removes the file() builtin.
8 years ago
David Wilson 498f961488 Fix up a few more ssh_tests, stop sending 400 modules over network.
Defining functions in the current module was causing the entirety of
py.test and all dependencies to be sucked in.
8 years ago
David Wilson e7ff6259a3 Initial commit. 8 years ago