Skip to content

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

Remove a defer.returnValue call.

Andrey Rakhmatullinc2baf4d0dad5
diff --git a/tests/test_feedexport.py b/tests/test_feedexport.py
index c7d955bc7..277555608 100644
--- a/tests/test_feedexport.py
+++ b/tests/test_feedexport.py
@@ -2299,7 +2299,7 @@ class BatchDeliveriesTest(FeedExportTestBase):
content[feed["format"]].append(file.read_bytes())
finally:
self.tearDown()
- defer.returnValue(content)
+ return content
@defer.inlineCallbacks
def assertExportedJsonLines(self, items, rows, settings=None):