diff --git a/demo.ipynb b/demo.ipynb
index 55d2b7cb..b5aa7c5e 100644
--- a/demo.ipynb
+++ b/demo.ipynb
@@ -972,7 +972,7 @@
}
],
"source": [
- "from supervision.assets import download_assets, VideoAssets\n",
+ "from supervision.assets import VideoAssets, download_assets\n",
"\n",
"download_assets(VideoAssets.VEHICLES)\n",
"VIDEO_PATH = VideoAssets.VEHICLES.value"
diff --git a/test/annotators/test_utils.py b/test/annotators/test_utils.py
index 1344d213..588f0242 100644
--- a/test/annotators/test_utils.py
+++ b/test/annotators/test_utils.py
@@ -1,5 +1,4 @@
from contextlib import ExitStack as DoesNotRaise
-from test.test_utils import mock_detections
from typing import Optional
import numpy as np
@@ -7,6 +6,7 @@ import pytest
from supervision.annotators.utils import ColorLookup, resolve_color_idx
from supervision.detection.core import Detections
+from test.test_utils import mock_detections
@pytest.mark.parametrize(
diff --git a/test/dataset/formats/test_pascal_voc.py b/test/dataset/formats/test_pascal_voc.py
index bce29271..80d83cc7 100644
--- a/test/dataset/formats/test_pascal_voc.py
+++ b/test/dataset/formats/test_pascal_voc.py
@@ -1,16 +1,16 @@
from contextlib import ExitStack as DoesNotRaise
-from test.test_utils import mock_detections
from typing import List, Optional
-import defusedxml.ElementTree as ET
import numpy as np
import pytest
+from defusedxml import ElementTree
from supervision.dataset.formats.pascal_voc import (
detections_from_xml_obj,
object_to_pascal_voc,
parse_polygon_points,
)
+from test.test_utils import mock_detections
def are_xml_elements_equal(elem1, elem2):
@@ -36,7 +36,7 @@ def are_xml_elements_equal(elem1, elem2):
np.array([0, 0, 10, 10]),
"test",
None,
- ET.fromstring(
+ ElementTree.fromstring(
""""""
),
@@ -46,7 +46,7 @@ def are_xml_elements_equal(elem1, elem2):
np.array([0, 0, 10, 10]),
"test",
np.array([[0, 0], [10, 0], [10, 10], [0, 10]]),
- ET.fromstring(
+ ElementTree.fromstring(
"""