summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2015-07-26 11:58:23 +0200
committerFlorian Bruhin <me@the-compiler.org>2015-07-26 11:58:23 +0200
commitbc2322378375be8139aff225c3a3014d3fa85a60 (patch)
tree50dccf1f4445138572e93258dbf0e53657f7ad23
parentb64a13cc88fc3f1bb006e036865ea6b0906155c0 (diff)
downloadpylint-bc2322378375be8139aff225c3a3014d3fa85a60.tar.gz
Get rid of logilab.common.modutils.
This was only needed in a test.
-rw-r--r--pylint/test/functional/no_name_in_module.py6
-rw-r--r--pylint/test/functional/no_name_in_module.txt6
2 files changed, 6 insertions, 6 deletions
diff --git a/pylint/test/functional/no_name_in_module.py b/pylint/test/functional/no_name_in_module.py
index 47e8c5f..ba2ee9c 100644
--- a/pylint/test/functional/no_name_in_module.py
+++ b/pylint/test/functional/no_name_in_module.py
@@ -6,9 +6,9 @@ import collections.tutu # [no-name-in-module]
from collections import toto # [no-name-in-module]
toto.yo()
-from logilab.common import modutils
-modutils.nonexistant_function() # [no-member]
-modutils.another.nonexistant.function() # [no-member]
+from xml.etree import ElementTree
+ElementTree.nonexistant_function() # [no-member]
+ElementTree.another.nonexistant.function() # [no-member]
print(collections.yo) # [no-member]
import sys
diff --git a/pylint/test/functional/no_name_in_module.txt b/pylint/test/functional/no_name_in_module.txt
index aa26791..72c4acb 100644
--- a/pylint/test/functional/no_name_in_module.txt
+++ b/pylint/test/functional/no_name_in_module.txt
@@ -1,7 +1,7 @@
no-name-in-module:5::No name 'tutu' in module 'collections'
no-name-in-module:6::No name 'toto' in module 'collections'
-no-member:10::Module 'logilab.common.modutils' has no 'nonexistant_function' member:INFERENCE
-no-member:11::Module 'logilab.common.modutils' has no 'another' member:INFERENCE
+no-member:10::Module 'xml.etree.ElementTree' has no 'nonexistant_function' member:INFERENCE
+no-member:11::Module 'xml.etree.ElementTree' has no 'another' member:INFERENCE
no-member:12::Module 'collections' has no 'yo' member:INFERENCE
no-member:16::Module 'sys' has no 'stdoout' member:INFERENCE
no-name-in-module:23::No name 'compiile' in module 're'
@@ -10,4 +10,4 @@ pointless-statement:26::Statement seems to have no effect
no-name-in-module:34::No name 'anything' in module 'collections'
no-name-in-module:44::No name 'indeed_missing' in module 'collections'
no-name-in-module:65::No name 'lala' in module 'functional.no_self_use'
-no-name-in-module:66::No name 'bla' in module 'functional.no_self_use' \ No newline at end of file
+no-name-in-module:66::No name 'bla' in module 'functional.no_self_use'