diff --git a/scrapy/commands/check.py b/scrapy/commands/check.py index 59c5ab9b5..8a3cf5078 100644 --- a/scrapy/commands/check.py +++ b/scrapy/commands/check.py @@ -107,10 +107,10 @@ class Command(ScrapyCommand): for method in sorted(methods): print(f" * {method}") else: - start = time.time() + start_time = time.time() self.crawler_process.start() stop = time.time() result.printErrors() - result.printSummary(start, stop) + result.printSummary(start_time, stop) self.exitcode = int(not result.wasSuccessful())