Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEPS: Lazy import
defusedxml
only when necessary (#12362)
The `defusedxml` dependency was added to `sphinx.testing` in sphinx 7.3, but it is not part of the core sphinx dependencies, and not strictly necessary for the running of the pytest plugin. This commit moves the import into the only function which uses it, so that the pytest plugins can be used again without this dependency.
- Loading branch information