From 1f50c24b6cde3353d6db24a049e932a96078cf2d Mon Sep 17 00:00:00 2001 From: Daniel Grana Date: Sun, 30 Aug 2009 01:55:39 -0300 Subject: [PATCH] one minus command testing line --- scrapy/tests/test_commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scrapy/tests/test_commands.py b/scrapy/tests/test_commands.py index 050892478..0d1e79788 100644 --- a/scrapy/tests/test_commands.py +++ b/scrapy/tests/test_commands.py @@ -22,8 +22,7 @@ class ProjectTest(unittest.TestCase): def call(self, *new_args, **kwargs): out = os.tmpfile() - args = [sys.executable, '-m', 'scrapy.command.cmdline'] - args.extend(new_args) + args = (sys.executable, '-m', 'scrapy.command.cmdline') + new_args return subprocess.call(args, stdout=out, stderr=out, cwd=self.cwd, \ env=self.env, **kwargs)