summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-05 07:04:43 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-05 07:04:43 -0500
commitaffe72ec6e86d288fbaa605ec98610719556dd42 (patch)
treeeb7474377a403fd87f25b5a32763b6f1e4913eac
parentdcf168545a75fde41888ad5a9e6d5a4b953bc2f3 (diff)
downloadpython-coveragepy-git-affe72ec6e86d288fbaa605ec98610719556dd42.tar.gz
The only good pylint is a quiet pylint
-rw-r--r--test/test_files.py2
-rw-r--r--test/test_summary.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/test_files.py b/test/test_files.py
index 207274a2..5692699c 100644
--- a/test/test_files.py
+++ b/test/test_files.py
@@ -38,7 +38,7 @@ class FileLocatorTest(CoverageTest):
self.assertEqual(fl.relative_filename(a2), a2)
def test_filepath_contains_absolute_prefix_twice(self):
- # https://bitbucket.org/ned/coveragepy/issue/194/filelocatorrelative_filename-could-mangle
+ # https://bitbucket.org/ned/coveragepy/issue/194
# Build a path that has two pieces matching the absolute path prefix.
# Technically, this test doesn't do that on Windows, but drive
# letters make that impractical to acheive.
diff --git a/test/test_summary.py b/test/test_summary.py
index 08f7fa9e..fd5c1b66 100644
--- a/test/test_summary.py
+++ b/test/test_summary.py
@@ -135,6 +135,7 @@ class SummaryTest(CoverageTest):
self.make_file("mycode.py", "This isn't python at all!")
report = self.report_from_command("coverage -r mycode.py")
+ # pylint: disable=C0301
# Name Stmts Miss Cover
# ----------------------------
# mycode NotPython: Couldn't parse '/tmp/test_cover/63354509363/mycode.py' as Python source: 'invalid syntax' at line 1