Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-Friedrich committed Jan 20, 2024
1 parent c91132d commit dd096d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscxyz/xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import typing
from io import TextIOWrapper
from pathlib import Path
from typing import Literal, Optional
from typing import Literal, Optional, Union

import lxml
import lxml.etree
Expand All @@ -15,7 +15,7 @@

ListExtension = Literal["mscz", "mscx", "both"]

ElementLike = _Element | _ElementTree | None
ElementLike = Optional[Union[_Element, _ElementTree, None]]


class Xml:
Expand Down

0 comments on commit dd096d8

Please sign in to comment.