diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2016-06-29 17:20:41 +0100 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-06-29 17:22:20 +0100 |
| commit | bb1c4af0e538e00a5bdad16c8b62260bbe139d9e (patch) | |
| tree | cc9aa789a57c08324e3f19342d17a70bb4c8c4b2 | |
| parent | 76cfc8e8a02a6ef7e6bc61624d3b24503ee3a235 (diff) | |
| download | astroid-git-bb1c4af0e538e00a5bdad16c8b62260bbe139d9e.tar.gz | |
Move test specific to pylint into pylint.
| -rw-r--r-- | astroid/tests/unittest_regrtest.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/astroid/tests/unittest_regrtest.py b/astroid/tests/unittest_regrtest.py index ff957dc9..cecf6b46 100644 --- a/astroid/tests/unittest_regrtest.py +++ b/astroid/tests/unittest_regrtest.py @@ -105,25 +105,6 @@ class A(gobject.GObject): a = astroid['A'] self.assertTrue(a.newstyle) - - def test_pylint_config_attr(self): - try: - from pylint import lint # pylint: disable=unused-variable - except ImportError: - self.skipTest('pylint not available') - mod = MANAGER.ast_from_module_name('pylint.lint') - pylinter = mod['PyLinter'] - expect = ['OptionsManagerMixIn', 'object', 'MessagesHandlerMixIn', - 'ReportsHandlerMixIn', 'BaseTokenChecker', 'BaseChecker', - 'OptionsProviderMixIn'] - self.assertListEqual([c.name for c in pylinter.ancestors()], - expect) - self.assertTrue(list(Instance(pylinter).getattr('config'))) - inferred = list(Instance(pylinter).igetattr('config')) - self.assertEqual(len(inferred), 1) - self.assertEqual(inferred[0].root().name, 'optparse') - self.assertEqual(inferred[0].name, 'Values') - @unittest.skipIf(six.PY2, "TODO: numpy is currently infinitely looping") def test_numpy_crash(self): """test don't crash on numpy""" |
