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/importer
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
..
module_finder_testmod Remove unused module imports 4 years ago
pkg_like_ansible issue #590: whoops, import missing test modules 6 years ago
pkg_like_plumbum Remove unused module imports 4 years ago
scanning tests: Improve master_test.ScanCodeImportsTest coverage 4 months ago
simple_pkg Remove unused module imports 4 years ago
six_brokenpkg tests: Close file object in six_brokenpkg 1 year ago
webproject trivia: Fix trailing whitespace 1 year ago
system_distro.py issue #590: whoops, import missing test modules 6 years ago