mirror of https://github.com/scrapy/scrapy.git
one minus command testing line
This commit is contained in:
parent
8ef2cf0add
commit
1f50c24b6c
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue