From 3f4894f1c5553de02efc6484628036e6714799f4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 5 Nov 2012 07:04:43 -0500 Subject: The only good pylint is a quiet pylint --- test/test_files.py | 2 +- test/test_summary.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_files.py b/test/test_files.py index 207274a..5692699 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 08f7fa9..fd5c1b6 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 -- cgit v1.2.1