diff options
-rw-r--r-- | astroid/tests/unittest_builder.py | 6 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/astroid/tests/unittest_builder.py b/astroid/tests/unittest_builder.py index 82f29f0..4790bec 100644 --- a/astroid/tests/unittest_builder.py +++ b/astroid/tests/unittest_builder.py @@ -443,7 +443,11 @@ class BuilderTest(unittest.TestCase): next(astroid['global_no_effect'].ilookup('CSTE2')) def test_socket_build(self): - import socket + try: + import socket + except ImportError: + print(sys.path) + raise astroid = self.builder.module_build(socket) # XXX just check the first one. Actually 3 objects are inferred (look at # the socket module) but the last one as those attributes dynamically @@ -6,4 +6,4 @@ envlist = py27, py33 deps =
logilab-common
six
-commands = python -Wi -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"
+commands = python -Wi -m unittest discover -v -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"
|