summaryrefslogtreecommitdiff
path: root/tests/test_farm.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-08-14 08:05:57 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-08-14 08:05:57 -0400
commitf087c213dbe2ffb1b4a0661c9d25e67915987a99 (patch)
tree0762e95ce98cf3b1c036cd71932e54cd293f5a99 /tests/test_farm.py
parent0341a891a22f29466fd525bc5aa010c5d85bed52 (diff)
downloadpython-coveragepy-git-f087c213dbe2ffb1b4a0661c9d25e67915987a99.tar.gz
Remove an unused debugging thing
Diffstat (limited to 'tests/test_farm.py')
-rw-r--r--tests/test_farm.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_farm.py b/tests/test_farm.py
index 942bdd5c..54eeb499 100644
--- a/tests/test_farm.py
+++ b/tests/test_farm.py
@@ -20,7 +20,6 @@ from tests.backtest import execfile # pylint: disable=redefined-builtin
from coverage import env
from coverage.backunittest import unittest
-from coverage.debug import _TEST_NAME_FILE
# Look for files that become tests.
@@ -105,10 +104,6 @@ class FarmTestCase(ModuleAwareMixin, SysPathAwareMixin, unittest.TestCase):
def __call__(self): # pylint: disable=arguments-differ
"""Execute the test from the runpy file."""
- if _TEST_NAME_FILE: # pragma: debugging
- with open(_TEST_NAME_FILE, "w") as f:
- f.write(self.description.replace("/", "_"))
-
# Prepare a dictionary of globals for the run.py files to use.
fns = """
copy run clean skip