From e2d1fe7695a98a1e7fb69da96cd9326b41a20fba Mon Sep 17 00:00:00 2001 From: kirilllzaitsev Date: Mon, 31 Jul 2023 19:42:53 +0200 Subject: [PATCH] remove artifacts --- test/dataset/formats/test_pascal_voc.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/dataset/formats/test_pascal_voc.py b/test/dataset/formats/test_pascal_voc.py index b12f2964..8ae38801 100644 --- a/test/dataset/formats/test_pascal_voc.py +++ b/test/dataset/formats/test_pascal_voc.py @@ -61,10 +61,6 @@ def test_object_to_pascal_voc( ): with exception: result = object_to_pascal_voc(xyxy=xyxy, name=name, polygon=polygon) - with open("/tmp/test.xml", "w") as f: - f.write(ET.tostring(result).decode()) - with open("/tmp/exptest.xml", "w") as f: - f.write(ET.tostring(expected_result).decode()) assert are_xml_elements_equal(result, expected_result)