summaryrefslogtreecommitdiff
path: root/test/test_func.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2013-12-19 19:20:42 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2013-12-19 19:20:42 +0100
commite78af4c36c838763b721d96df470cfaac6481a80 (patch)
tree5b4f0d5469a70f51ca03e3ea9dc54d1532754e0e /test/test_func.py
parentcb1da0b54d4375fc3c1f8530e8c588f534d5ac76 (diff)
downloadpylint-e78af4c36c838763b721d96df470cfaac6481a80.tar.gz
[test] skip test which is not really useful and cause pb in tox or installed environment (with '.' in path, such as python2.7)
Diffstat (limited to 'test/test_func.py')
-rw-r--r--test/test_func.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/test/test_func.py b/test/test_func.py
index 833d727..47410a8 100644
--- a/test/test_func.py
+++ b/test/test_func.py
@@ -42,13 +42,6 @@ class LintTestNonExistentModuleTC(LintTestUsingModule):
_get_expected = lambda self: 'F: 1: No module named %snonexistent%s\n' % (quote, quote)
tags = testlib.Tags(('generated','pylint_input_%s' % module))
-class LintTestNonExistentFileTC(LintTestUsingFile):
- module = join(INPUT_DIR, 'nonexistent.py')
- _get_expected = lambda self: 'F: 1: No module named %s\n' % self.module[len(getcwd())+1 :]
- tags = testlib.Tags(('generated', 'pylint_input_%s' % module))
- def test_functionality(self):
- self._test([self.module])
-
class TestTests(testlib.TestCase):
"""check that all testable messages have been checked"""
@testlib.tag('coverage')
@@ -89,7 +82,7 @@ def cb_file(*args):
return base_cb_file(*args)
callbacks = [cb_test_gen(LintTestUsingModule),
- cb_file]
+ cb_file]
# Gen tests