diff options
author | David Douard <david.douard@logilab.fr> | 2013-06-17 15:06:48 +0200 |
---|---|---|
committer | David Douard <david.douard@logilab.fr> | 2013-06-17 15:06:48 +0200 |
commit | 34e999fc8d56fdeadda39bb8f7122e203af7d869 (patch) | |
tree | 85c406f60ea59578241ac0959591720d07fa0fda /test/utils.py | |
parent | b4a281669859719bf13e01b81c6d979fcc0ea2d7 (diff) | |
download | pylint-34e999fc8d56fdeadda39bb8f7122e203af7d869.tar.gz |
astng has been renamed astroid
Diffstat (limited to 'test/utils.py')
-rw-r--r-- | test/utils.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/utils.py b/test/utils.py index 3cf1699..6722e32 100644 --- a/test/utils.py +++ b/test/utils.py @@ -6,10 +6,10 @@ import sys from os.path import join, dirname, abspath from logilab.common.testlib import TestCase -from logilab.astng import MANAGER +from astroid import MANAGER -def _astng_wrapper(func, modname): +def _astroid_wrapper(func, modname): return func(modname) @@ -22,12 +22,12 @@ def _sorted_file(path): return '\n'.join(lines) def get_project(module, name=None): - """return a astng project representation + """return a astroid project representation """ manager = MANAGER # flush cache manager._modules_by_name = {} - return manager.project_from_files([module], _astng_wrapper, + return manager.project_from_files([module], _astroid_wrapper, project_name=name) DEFAULTS = {'all_ancestors': None, 'show_associated': None, |