diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/backtest.py | 2 | ||||
-rw-r--r-- | test/backunittest.py | 2 | ||||
-rw-r--r-- | test/coveragetest.py | 4 | ||||
-rw-r--r-- | test/meta_coverage.py | 2 | ||||
-rw-r--r-- | test/test_api.py | 2 | ||||
-rw-r--r-- | test/test_cmdline.py | 2 | ||||
-rw-r--r-- | test/test_codeunit.py | 2 | ||||
-rw-r--r-- | test/test_farm.py | 2 | ||||
-rw-r--r-- | test/test_files.py | 2 | ||||
-rw-r--r-- | test/test_summary.py | 2 | ||||
-rw-r--r-- | test/test_templite.py | 2 | ||||
-rw-r--r-- | test/test_testing.py | 2 |
12 files changed, 13 insertions, 13 deletions
diff --git a/test/backtest.py b/test/backtest.py index e8d8366d..4576a865 100644 --- a/test/backtest.py +++ b/test/backtest.py @@ -1,6 +1,6 @@ """Add things to old Pythons so I can pretend they are newer, for tests.""" -# pylint: disable-msg=W0622 +# pylint: disable=W0622 # (Redefining built-in blah) # The whole point of this file is to redefine built-ins, so shut up about it. diff --git a/test/backunittest.py b/test/backunittest.py index f606185f..c1685e0c 100644 --- a/test/backunittest.py +++ b/test/backunittest.py @@ -2,7 +2,7 @@ import difflib, re, sys, unittest -from coverage.backward import set # pylint: disable-msg=W0622 +from coverage.backward import set # pylint: disable=W0622 def _need(method): diff --git a/test/coveragetest.py b/test/coveragetest.py index 6eb34bff..ebff65aa 100644 --- a/test/coveragetest.py +++ b/test/coveragetest.py @@ -3,7 +3,7 @@ import imp, os, random, shlex, shutil, sys, tempfile, textwrap import coverage -from coverage.backward import sorted, StringIO # pylint: disable-msg=W0622 +from coverage.backward import sorted, StringIO # pylint: disable=W0622 from backtest import run_command from backunittest import TestCase @@ -167,7 +167,7 @@ class CoverageTest(TestCase): if suff[0] == '.py': break try: - # pylint: disable-msg=W0631 + # pylint: disable=W0631 # (Using possibly undefined loop variable 'suff') mod = imp.load_module(modname, f, modfile, suff) finally: diff --git a/test/meta_coverage.py b/test/meta_coverage.py index 1c71abf0..ef0292ae 100644 --- a/test/meta_coverage.py +++ b/test/meta_coverage.py @@ -45,7 +45,7 @@ def run_tests_with_coverage(): if hasattr(mod, '__file__') and mod.__file__.startswith(covdir): covmods[name] = mod del sys.modules[name] - import coverage # don't warn about re-import: pylint: disable-msg=W0404 + import coverage # don't warn about re-import: pylint: disable=W0404 #sys.modules.update(covmods) # Run nosetests, with the arguments from our command line. diff --git a/test/test_api.py b/test/test_api.py index 5952dfe7..aee0734a 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -314,7 +314,7 @@ class SourceOmitIncludeTest(CoverageTest): """ cov = coverage.coverage(**kwargs) cov.start() - import usepkgs # pylint: disable-msg=F0401,W0612 + import usepkgs # pylint: disable=F0401,W0612 cov.stop() return cov.data.summary() diff --git a/test/test_cmdline.py b/test/test_cmdline.py index aa72b340..a9858d51 100644 --- a/test/test_cmdline.py +++ b/test/test_cmdline.py @@ -372,7 +372,7 @@ class FakeCoverageForDebugData(object): """Fake coverage().data.has_arcs()""" return False - def summary(self, fullpath): # pylint: disable-msg=W0613 + def summary(self, fullpath): # pylint: disable=W0613 """Fake coverage().data.summary()""" return self._summary diff --git a/test/test_codeunit.py b/test/test_codeunit.py index 7903d153..b543949c 100644 --- a/test/test_codeunit.py +++ b/test/test_codeunit.py @@ -8,7 +8,7 @@ from coverage.files import FileLocator sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k from coveragetest import CoverageTest -# pylint: disable-msg=F0401 +# pylint: disable=F0401 # Unable to import 'aa' (No module named aa) class CodeUnitTest(CoverageTest): diff --git a/test/test_farm.py b/test/test_farm.py index 79b345a6..70415317 100644 --- a/test/test_farm.py +++ b/test/test_farm.py @@ -3,7 +3,7 @@ import difflib, filecmp, fnmatch, glob, os, re, shutil, sys sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k -from backtest import run_command, execfile # pylint: disable-msg=W0622 +from backtest import run_command, execfile # pylint: disable=W0622 def test_farm(clean_only=False): diff --git a/test/test_files.py b/test/test_files.py index 4ffc6ca2..9cbaf9c4 100644 --- a/test/test_files.py +++ b/test/test_files.py @@ -4,7 +4,7 @@ import os, sys from coverage.files import FileLocator, TreeMatcher, FnmatchMatcher from coverage.files import find_python_files -from coverage.backward import set # pylint: disable-msg=W0622 +from coverage.backward import set # pylint: disable=W0622 sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k from coveragetest import CoverageTest diff --git a/test/test_summary.py b/test/test_summary.py index fcc26125..5a689129 100644 --- a/test/test_summary.py +++ b/test/test_summary.py @@ -143,7 +143,7 @@ class SummaryTest2(CoverageTest): def test_empty_files(self): cov = coverage.coverage() cov.start() - import usepkgs # pylint: disable-msg=F0401,W0612 + import usepkgs # pylint: disable=F0401,W0612 cov.stop() repout = StringIO() diff --git a/test/test_templite.py b/test/test_templite.py index 93e9183d..0435c545 100644 --- a/test/test_templite.py +++ b/test/test_templite.py @@ -3,7 +3,7 @@ from coverage.templite import Templite import unittest -# pylint: disable-msg=W0612,E1101 +# pylint: disable=W0612,E1101 # Disable W0612 (Unused variable) and # E1101 (Instance of 'foo' has no 'bar' member) diff --git a/test/test_testing.py b/test/test_testing.py index 67f4412c..66a4093c 100644 --- a/test/test_testing.py +++ b/test/test_testing.py @@ -5,7 +5,7 @@ sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k from backunittest import TestCase from coveragetest import CoverageTest -from coverage.backward import set # pylint: disable-msg=W0622 +from coverage.backward import set # pylint: disable=W0622 class TestingTest(TestCase): """Tests of helper methods on `backunittest.TestCase`.""" |