From e4729d36d839fbd298e6d1f09c701b0c817cdd4f Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Mon, 22 Jun 2026 22:06:52 +0500 Subject: [PATCH] Close the file in TestMarshalItemExporter.test_nonstring_types_item(). --- tests/test_exporters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_exporters.py b/tests/test_exporters.py index 2fded613d..254dae3f5 100644 --- a/tests/test_exporters.py +++ b/tests/test_exporters.py @@ -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):