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
commitbad63e02b113626a048ea5eb253293c61902e291 (patch)
treeefb98eaafdf9d9212b53a1e51a782f7ff00cca41 /tests/test_farm.py
parentb3df60a544a54b4dd604d34137ff08e02b815e81 (diff)
downloadpython-coveragepy-git-bad63e02b113626a048ea5eb253293c61902e291.tar.gz
Generator expressons are ok now.
--HG-- branch : 4.0
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 fee28063..c86983e5 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