From e55230592085af75fc0cb7b2fba66cf82cefc6a4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 31 May 2018 10:50:38 -0400 Subject: A few cleanups --- MANIFEST.in | 1 - coverage/collector.py | 1 + tests/test_farm.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 447f8ea..275f752 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -14,7 +14,6 @@ include TODO.txt include __main__.py include .travis.yml include appveyor.yml -include circle.yml include howto.txt include igor.py include metacov.ini diff --git a/coverage/collector.py b/coverage/collector.py index d646837..bc385fc 100644 --- a/coverage/collector.py +++ b/coverage/collector.py @@ -371,6 +371,7 @@ class Collector(object): tracer.data = data def cached_abs_file(self, filename): + """A locally cached version of `abs_file`.""" key = (type(filename), filename) try: return self.abs_file_cache[key] diff --git a/tests/test_farm.py b/tests/test_farm.py index 1b52bc2..8368126 100644 --- a/tests/test_farm.py +++ b/tests/test_farm.py @@ -103,7 +103,7 @@ class FarmTestCase(ModuleAwareMixin, SysPathAwareMixin, unittest.TestCase): """Here to make unittest.TestCase happy, but will never be invoked.""" raise Exception("runTest isn't used in this class!") - def __call__(self): + def __call__(self): # pylint: disable=arguments-differ """Execute the test from the run.py file.""" if _TEST_NAME_FILE: # pragma: debugging with open(_TEST_NAME_FILE, "w") as f: -- cgit v1.2.1