You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/data
Alex Willmer 2fd88298ae tests: Improve master_test.ScanCodeImportsTest coverage
This covers existing behaviours of `mitogen.master.scan_code_imports()` some
of which are relied on, some not, but regardless weren't tested. Notably
- Explicit relative imports return level > 0
- Imports inside `class` and `def` are excluded
- Imports inside other blocks are included
- Python 3.x prunes impossible if/else branches (previously unknown)

It also
- Decouples the test results from the implementation details of the unit test.
- Fixes a missing import
- Fixes at least one Python 2.4 incompatibility (use of with block)
4 months ago
..
docker CI: Refactor sshd configuration into a role 1 year ago
importer tests: Improve master_test.ScanCodeImportsTest coverage 4 months ago
minimize_samples ci: Upgrade VM Images to macOS 11 and Ubuntu 20.04 3 years ago
stubs Remove unused module imports 4 years ago
broker_shutdown_test_python.py parent: define Connection behaviour during Broker.shutdown() 6 years ago
fd_check.py tests: Fix unclosed file in fd_check script 10 months ago
main_with_no_exec_guard.py Remove unused module imports 4 years ago
plain_old_module.py Use with open(): ... to ensure file objects get closed 4 years ago
python_never_responds.py tests.parent_test: Don't assume interpreter is in /usr/bin 4 years ago
self_contained_program.py Initial Python 3.x port work. 8 years ago
stdio_checks.py mitogen: Fix BlockingIOError & EAGAIN in subprocess stdio 4 months ago
unarchive_test.tar issue #558, #582: preserve remote tmpdir if caller did not supply one 6 years ago