Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fix typo: causes it be closed → causes it to be closed

Adrián Chaves426f3ebb7b36
diff --git a/tests/test_exporters.py b/tests/test_exporters.py
index 34475b05d..95ff5a93c 100644
--- a/tests/test_exporters.py
+++ b/tests/test_exporters.py
@@ -92,7 +92,7 @@ class BaseItemExporterTest(unittest.TestCase):
raise
self.ie.finish_exporting()
# Delete the item exporter object, so that if it causes the output
- # file handle be closed, which should not be the case, follow-up
+ # file handle to be closed, which should not be the case, follow-up
# interactions with the output file handle will surface the issue.
del self.ie
self._check_output()