Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
silent wrapper that doesn't do anything; can be used for tests

        def _silent_no_wrap(func, modname):
    """silent wrapper that doesn't do anything; can be used for tests"""
    return func(modname)
        


src/a/s/astroid-1.1.1/test/unittest_manager.py   astroid(Download)
import sys
from os.path import join, abspath, dirname
from astroid.manager import AstroidManager, _silent_no_wrap
from astroid.bases import  BUILTINS
from astroid.exceptions import AstroidBuildingException

src/a/s/astroid-1.1.1/test/unittest_inspector.py   astroid(Download)
from astroid.bases import Instance, YES
 
from astroid.manager import AstroidManager, _silent_no_wrap
 
MANAGER = AstroidManager()