summaryrefslogtreecommitdiff
path: root/tests/test_farm.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2013-10-19 22:08:37 -0400
committerNed Batchelder <ned@nedbatchelder.com>2013-10-19 22:08:37 -0400
commit5aa8f70d4ee8b3d40d5caf69c42c67d4fd4f0118 (patch)
treebad8ec8d95104c115461b0bf4cd4e3584a46cfd7 /tests/test_farm.py
parentdfb5405959bbe14ebcf533cd442c41a314b8a4fd (diff)
downloadpython-coveragepy-5aa8f70d4ee8b3d40d5caf69c42c67d4fd4f0118.tar.gz
Generator expressons are ok now.
Diffstat (limited to 'tests/test_farm.py')
-rw-r--r--tests/test_farm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_farm.py b/tests/test_farm.py
index fee2806..c86983e 100644
--- a/tests/test_farm.py
+++ b/tests/test_farm.py
@@ -78,10 +78,10 @@ class FarmTestCase(object):
copy run runfunc compare contains doesnt_contain clean skip
""".split()
if self.clean_only:
- glo = dict([(fn, self.noop) for fn in fns])
+ glo = dict((fn, self.noop) for fn in fns)
glo['clean'] = self.clean
else:
- glo = dict([(fn, getattr(self, fn)) for fn in fns])
+ glo = dict((fn, getattr(self, fn)) for fn in fns)
if self.dont_clean: # pragma: not covered
glo['clean'] = self.noop