diff options
| author | Torsten Marek <shlomme@gmail.com> | 2014-11-20 23:15:18 +0100 |
|---|---|---|
| committer | Torsten Marek <shlomme@gmail.com> | 2014-11-20 23:15:18 +0100 |
| commit | 7eb850fec1ef934c3ca965bd79ef1784a50ba5fc (patch) | |
| tree | a6ddfbd39522c4aef64ccb6d81ba0a8ef8616057 | |
| parent | 48063025fe56a5c2683a5f9f269aed30a4a71dbf (diff) | |
| download | astroid-git-7eb850fec1ef934c3ca965bd79ef1784a50ba5fc.tar.gz | |
Also add sys.path setup to the AsStringTest, since it relies on inference when detecting metaclasses.
| -rw-r--r-- | astroid/tests/unittest_nodes.py | 3 | ||||
| -rw-r--r-- | tox.ini | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/astroid/tests/unittest_nodes.py b/astroid/tests/unittest_nodes.py index 7cedd7e1..39aa81e9 100644 --- a/astroid/tests/unittest_nodes.py +++ b/astroid/tests/unittest_nodes.py @@ -31,7 +31,7 @@ from astroid.tests import resources abuilder = builder.AstroidBuilder() -class AsStringTest(unittest.TestCase): +class AsStringTest(resources.SysPathSetup, unittest.TestCase): def test_tuple_as_string(self): def build(string): @@ -429,6 +429,5 @@ class ArgumentsNodeTC(unittest.TestCase): '(no line number on function args)') - if __name__ == '__main__': unittest.main() @@ -6,4 +6,4 @@ envlist = py27, py33 deps =
logilab-common
six
-commands = python -m unittest discover -v -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"
+commands = python -m unittest discover -s {envsitepackagesdir}/astroid/tests -p "unittest*.py"
|
