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.
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 | 4 months ago | |
| .github | 4 months ago | |
| ansible_mitogen | 5 months ago | |
| docs | 4 months ago | |
| examples | 1 year ago | |
| mitogen | 5 months ago | |
| scripts | 2 years ago | |
| tests | 4 months ago | |
| .gitignore | 7 months ago | |
| .lgtm.yml | 6 years ago | |
| LICENSE | 5 years ago | |
| MANIFEST.in | 7 years ago | |
| README.md | 1 year ago | |
| dev_requirements.txt | 7 years ago | |
| netlify.toml | 12 months ago | |
| preamble_size.py | 4 years ago | |
| run_tests | 4 years ago | |
| setup.cfg | 6 months ago | |
| setup.py | 7 months ago | |
| tox.ini | 5 months ago | |
