Skip to content

Commit

Permalink
import or skip lxml
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Jul 8, 2023
1 parent 5ac0afe commit 14d23b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,6 @@ def _sort_elements(element: ET.Element, recursive: bool = True) -> None:


def test_canonicalize() -> None:
pytest.importorskip("lxml")
ome = from_xml(DATA / "example.ome.xml", validate=True)
_ = to_xml(ome, validate=True, canonicalize=True)

0 comments on commit 14d23b0

Please sign in to comment.