diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-15 20:11:34 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-15 20:11:34 -0400 |
| commit | 7358802affc00c6819ccb864ecf233fbf849a806 (patch) | |
| tree | d55bdfd003cfc1dffc0b3499ce78469c3e97a4d1 /tests | |
| parent | b60c72f45589510b35f12c758cf1550c64da4b7f (diff) | |
| download | python-coveragepy-7358802affc00c6819ccb864ecf233fbf849a806.tar.gz | |
Move suffix logic into data.py
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/coveragetest.py | 2 | ||||
| -rw-r--r-- | tests/test_data.py | 4 | ||||
| -rw-r--r-- | tests/test_farm.py | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 1623ef9..2f48861 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -12,7 +12,7 @@ import sys import coverage from coverage.backunittest import TestCase from coverage.backward import StringIO, import_local_file, string_class -from coverage.control import _TEST_NAME_FILE +from coverage.debug import _TEST_NAME_FILE from coverage.test_helpers import ( EnvironmentAwareMixin, StdStreamCapturingMixin, TempDirMixin, ) diff --git a/tests/test_data.py b/tests/test_data.py index a53330f..1f0aecf 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -174,9 +174,7 @@ class DataTest(DataTestHelpers, CoverageTest): apy = canonical_filename('./a.py') sub_bpy = canonical_filename('./sub/b.py') - self.assert_summary( - covdata3, { apy: 4, sub_bpy: 2, }, fullpath=True - ) + self.assert_summary(covdata3, { apy: 4, sub_bpy: 2 }, fullpath=True) self.assert_measured_files(covdata3, [apy,sub_bpy]) diff --git a/tests/test_farm.py b/tests/test_farm.py index d8d4c0f..8b17251 100644 --- a/tests/test_farm.py +++ b/tests/test_farm.py @@ -14,7 +14,7 @@ from nose.plugins.skip import SkipTest from tests.helpers import run_command from tests.backtest import execfile # pylint: disable=redefined-builtin -from coverage.control import _TEST_NAME_FILE +from coverage.debug import _TEST_NAME_FILE def test_farm(clean_only=False): |
