summaryrefslogtreecommitdiff
path: root/test/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils.py')
-rw-r--r--test/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils.py b/test/utils.py
index 474e32759..3ae8f8925 100644
--- a/test/utils.py
+++ b/test/utils.py
@@ -79,7 +79,7 @@ import os
import sys
from os.path import join
-from logilab.astng import ASTNGManager
+from logilab.astng import MANAGER
@@ -98,7 +98,7 @@ def _sorted_file(path):
def get_project(module, name=None):
"""return a astng project representation
"""
- manager = ASTNGManager()
+ manager = MANAGER
# flush cache
manager._modules_by_name = {}
return manager.project_from_files([module], _astng_wrapper,