summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astroid/builder.py2
-rw-r--r--astroid/test_utils.py1
-rw-r--r--astroid/tests/unittest_scoped_nodes.py1
3 files changed, 1 insertions, 3 deletions
diff --git a/astroid/builder.py b/astroid/builder.py
index 8f0a1d07..e684eecc 100644
--- a/astroid/builder.py
+++ b/astroid/builder.py
@@ -86,7 +86,7 @@ class AstroidBuilder(raw_building.InspectBuilder):
"""Class for building an astroid tree from source code or from a live module."""
def __init__(self, manager=None):
- super(raw_building.InspectBuilder, self).__init__()
+ super(AstroidBuilder, self).__init__()
self._manager = manager or MANAGER
def module_build(self, module, modname=None):
diff --git a/astroid/test_utils.py b/astroid/test_utils.py
index e45177a4..d5cc5c34 100644
--- a/astroid/test_utils.py
+++ b/astroid/test_utils.py
@@ -1,7 +1,6 @@
"""Utility functions for test code that uses astroid ASTs as input."""
import functools
import sys
-import textwrap
from astroid import nodes
from astroid import builder
diff --git a/astroid/tests/unittest_scoped_nodes.py b/astroid/tests/unittest_scoped_nodes.py
index 2e946a36..af33732b 100644
--- a/astroid/tests/unittest_scoped_nodes.py
+++ b/astroid/tests/unittest_scoped_nodes.py
@@ -34,7 +34,6 @@ from astroid.bases import (
BUILTINS, Instance,
BoundMethod, UnboundMethod, Generator
)
-from astroid import builder
from astroid import __pkginfo__
from astroid import test_utils
from astroid.tests import resources