summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-12-21 07:55:25 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-12-21 07:55:25 -0500
commit6977c8efd9438d063ac2d063cba2ebdd9560e609 (patch)
tree8816141244f68650171bc76295f67925902633e8 /test
parent502fe3685098b7b0a9524c2e2de0d0db9de06ed9 (diff)
downloadpython-coveragepy-git-6977c8efd9438d063ac2d063cba2ebdd9560e609.tar.gz
Clean up debugging stuff
Diffstat (limited to 'test')
-rw-r--r--test/test_farm.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/test_farm.py b/test/test_farm.py
index 418a3cf5..c343e2f7 100644
--- a/test/test_farm.py
+++ b/test/test_farm.py
@@ -7,7 +7,6 @@ sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k
from backtest import run_command, execfile # pylint: disable=W0622
from coverage.control import _TEST_NAME_FILE
-from coverage.misc import short_stack
def test_farm(clean_only=False):
@@ -95,8 +94,6 @@ class FarmTestCase(object):
# Remove any new modules imported during the test run. This lets us
# import the same source files for more than one test.
to_del = [m for m in sys.modules if m not in old_mods]
- with open(r"\foo\cov.txt", "a") as f:
- print >>f, ("Deleting modules: %s, %r\n%s" % (self.description, to_del, short_stack()))
for m in to_del:
del sys.modules[m]