mirror of https://github.com/scrapy/scrapy.git
Close the file in TestMarshalItemExporter.test_nonstring_types_item().
This commit is contained in:
parent
a07444a918
commit
e4729d36d8
|
|
@ -260,6 +260,7 @@ class TestMarshalItemExporter(TestBaseItemExporter):
|
|||
del ie # See the first “del self.ie” in this file for context.
|
||||
fp.seek(0)
|
||||
assert marshal.load(fp) == item
|
||||
fp.close()
|
||||
|
||||
|
||||
class TestMarshalItemExporterDataclass(TestMarshalItemExporter):
|
||||
|
|
|
|||
Loading…
Reference in New Issue