third_party.pylibs.pylint.src/pylint/test/regrtest_data/wildcard.py
Hornwitser c45c792c90 Clean up imports in import checker unit tests
Use astroid.MANAGER.ast_from_module_name instead of trying to manually
build the module object.  Rename awesome_module.py to wildcard.py to
better reflect what's being tested, add empty.py and and do wildcard
import tests importing it.

Fixes incorrect module name passed in the test_wildcard_import_init unit
test, as well as removing a self import, both of which were introduced
at the creation of the test in 9c551b0.
2018-09-04 08:58:47 +02:00

2 lines
20 B
Python