summaryrefslogtreecommitdiff
path: root/tests/test_farm.py
diff options
context:
space:
mode:
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