diff options
author | James R. Barlow <jim@purplerock.ca> | 2019-04-24 02:36:16 -0700 |
---|---|---|
committer | James R. Barlow <jim@purplerock.ca> | 2019-04-24 02:36:16 -0700 |
commit | f5179cf31c6bf682b283757ee8cd47a953142f1e (patch) | |
tree | 3aca3ad58ddb4d88af947b7e9f2d9868c24f960e /tests | |
parent | 76ac3e5ec290a9623c35033fea6b68deb1fe90a4 (diff) |
Remove dependency on deprecated defusedxml.lxml
defusedxml deprecated this module and noted it was only an example.
Decided to remove it entirely rather than rely on code that its upstream
considers inadequate. In any event it appears patches to libxml2 made
the defusedxml.lxml less necessary.
See discussion at:
https://github.com/PyCQA/bandit/issues/435
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_metadata.py b/tests/test_metadata.py index 375b7bc..6075df0 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -3,7 +3,7 @@ from datetime import datetime, timedelta, timezone import os from pathlib import Path -import defusedxml.ElementTree as ET +import xml.etree.ElementTree as ET import pytest from hypothesis import given, example from hypothesis.strategies import integers |