Skip to content

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

improve view of dict

maranqz71d2c2f1a319
diff --git a/tests/test_feedexport.py b/tests/test_feedexport.py
index e88e4f5ce..5738e36f1 100644
--- a/tests/test_feedexport.py
+++ b/tests/test_feedexport.py
@@ -1263,7 +1263,7 @@ class FeedExportTest(FeedExportTestBase):
{
'options': {
'format': 'csv',
- 'item_export_kwargs': dict(include_headers_line=True),
+ 'item_export_kwargs': {'include_headers_line': True},
},
'expected': expected_with_title_csv,
},
@@ -1271,7 +1271,7 @@ class FeedExportTest(FeedExportTestBase):
{
'options': {
'format': 'csv',
- 'item_export_kwargs': dict(include_headers_line=False),
+ 'item_export_kwargs': {'include_headers_line': False},
},
'expected': expected_without_title_csv,
},