Close the file in TestMarshalItemExporter.test_nonstring_types_item().

This commit is contained in:
Andrey Rakhmatullin 2026-06-22 22:06:52 +05:00
parent a07444a918
commit e4729d36d8
1 changed files with 1 additions and 0 deletions

View File

@ -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):