diff --git a/tests/test_dict2xml.py b/tests/test_dict2xml.py
index 602b70c..7a54ab7 100644
--- a/tests/test_dict2xml.py
+++ b/tests/test_dict2xml.py
@@ -470,7 +470,7 @@ def test_list_to_xml_with_special_characters(self):
result = dicttoxml.dicttoxml(data, root=False, attr_type=False, item_wrap=True)
assert result == b"- <tag>
- &
- "quote"
- 'single quote'
"
- def datetime_conversion_with_isoformat(self):
+ def test_datetime_conversion_with_isoformat(self):
data = {"key": datetime.datetime(2023, 2, 15, 12, 30, 45)}
result = dicttoxml.dicttoxml(data, attr_type=False)
assert b"2023-02-15T12:30:45" in result