summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-07-09 10:50:23 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-07-09 10:50:23 -0400
commit831cbf4e7ef69eca24034425a887aa774f765fd8 (patch)
tree09a2af3bd95e87eb161e45a0e2dba0af1a4e9baa /test
parent829cde3cb6fcd15ebf884446b6a27d7e2dc7aadb (diff)
downloadpython-coveragepy-git-831cbf4e7ef69eca24034425a887aa774f765fd8.tar.gz
Have the tests use the script explicitly until I can figure out how to install a usable script for Py3k
Diffstat (limited to 'test')
-rw-r--r--test/test_farm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_farm.py b/test/test_farm.py
index d7b40b33..239dac00 100644
--- a/test/test_farm.py
+++ b/test/test_farm.py
@@ -129,7 +129,8 @@ class FarmTestCase(object):
cwd = self.cd(rundir)
try:
for cmd in cmds.split("\n"):
- if not cmd.strip():
+ cmd = cmd.strip()
+ if not cmd:
continue
retcode, output = run_command(cmd)
print output,