Mirror of mitogen
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.
 
 
 
Go to file
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
.ci CI: Combine build deps & tooling steps 4 months ago
.github CI: Combine build deps & tooling steps 4 months ago
ansible_mitogen mitogen: Fix BlockingIOError & EAGAIN in subprocess stdio 5 months ago
docs tests: Improve master_test.ScanCodeImportsTest coverage 4 months ago
examples Remove get_password_hash, unused 1 year ago
mitogen Begin v0.3.27dev 5 months ago
scripts add Python3 compatibility 2 years ago
tests tests: Improve master_test.ScanCodeImportsTest coverage 4 months ago
.gitignore chore: Ignore locally installed collections, dummy modules, etc 7 months ago
.lgtm.yml Whoops, merge together lgtm.yml and .lgtm.yml 6 years ago
LICENSE Bump copyright year and use generic author name (testing Travis) 5 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 7 years ago
README.md docs: shields.io badges for PyPI version & supported Python versions 1 year ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 7 years ago
netlify.toml docs: Attempt to configure Netlify build of mitogen.networkgenomics.com 12 months ago
preamble_size.py mitogen.parent: Remove tabs from minimized first stage 4 years ago
run_tests tests: Remove unittest2, use stdlib unittest 4 years ago
setup.cfg Keep comatibility with `setuptools` tagging wheels with `py2.py3` 6 months ago
setup.py packaging: Handle pre-release __version__ tuples 7 months ago
tox.ini CI: Abbreviate Github Actions job names 5 months ago

README.md