Skip to content

Commit 755945c

Browse files
committed
fix test case
1 parent 93262f7 commit 755945c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: tests/test_commands.py

-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import scrapy
2323
from scrapy.commands import ScrapyCommand, ScrapyHelpFormatter, crawl, runspider, view
2424
from scrapy.commands.startproject import IGNORE
25-
from scrapy.crawler import CrawlerProcess
2625
from scrapy.settings import Settings
2726
from scrapy.utils.python import to_unicode
2827
from scrapy.utils.test import get_testenv
@@ -1093,7 +1092,6 @@ def test_exporter_disabled(self):
10931092
)
10941093
command.add_options(parser)
10951094
opts, _ = parser.parse_known_args(args=[])
1096-
command.crawler_process = CrawlerProcess(settings)
10971095

10981096
opts.output = ["example.json"]
10991097

0 commit comments

Comments
 (0)