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

All Samples(8)  |  Call(0)  |  Derive(0)  |  Import(8)
The AstroidBuilder makes astroid from living object and / or from _ast

The builder is not thread safe and can't be used to parse different sources
at the same time.

src/a/s/astroid-1.1.1/test_utils.py   astroid(Download)
"""Utility functions for test code that uses astroid ASTs as input."""
import textwrap
 
from astroid import nodes
from astroid import builder

src/a/s/astroid-1.1.1/test/unittest_utils.py   astroid(Download)
from logilab.common.testlib import TestCase, unittest_main
 
from astroid import builder, nodes
from astroid.node_classes import are_exclusive
 

src/a/s/astroid-1.1.1/test/unittest_scoped_nodes.py   astroid(Download)
from logilab.common.testlib import TestCase, unittest_main, require_version
 
from astroid import YES, builder, nodes, scoped_nodes, \
     InferenceError, NotFoundError, NoDefault
from astroid.bases import BUILTINS, Instance, BoundMethod, UnboundMethod

src/a/s/astroid-1.1.1/test/unittest_nodes.py   astroid(Download)
from astroid.bases import BUILTINS, YES, InferenceContext
from astroid.exceptions import AstroidBuildingException, NotFoundError
from astroid import builder, nodes
 
from data import module as test_module

src/a/s/astroid-1.1.1/test/unittest_lookup.py   astroid(Download)
from logilab.common.testlib import TestCase, unittest_main, require_version
 
from astroid import builder, nodes, scoped_nodes, \
     InferenceError, NotFoundError, UnresolvableName
from astroid.scoped_nodes import builtin_lookup, Function

src/a/s/astroid-1.1.1/test/unittest_inference.py   astroid(Download)
from logilab.common.testlib import TestCase, unittest_main, require_version
 
from astroid import InferenceError, builder, nodes
from astroid.inference import infer_end as inference_infer_end
from astroid.bases import YES, Instance, BoundMethod, UnboundMethod,\

src/a/s/astroid-1.1.1/test/unittest_builder.py   astroid(Download)
from pprint import pprint
 
from astroid import builder, nodes, InferenceError, NotFoundError
from astroid.nodes import Module
from astroid.bases import YES, BUILTINS

src/p/y/pylama_pylint-0.1.6/astroid/test_utils.py   pylama_pylint(Download)
"""Utility functions for test code that uses astroid ASTs as input."""
import textwrap
 
from astroid import nodes
from astroid import builder