Skip to content

Commit c9e6bb8

Browse files
authored
Accept lxml 5.x (#286)
* chore: accept lxml 5.x * tests: ignore some lines in doctest
1 parent a402f24 commit c9e6bb8

File tree

3 files changed

+307
-257
lines changed

3 files changed

+307
-257
lines changed

circuit_maintenance_parser/output.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,13 @@ class CircuitImpact(BaseModel, extra="forbid"):
7777
>>> CircuitImpact(
7878
... circuit_id="1234",
7979
... impact="wrong impact"
80-
... )
80+
... ) # doctest:+ELLIPSIS
8181
Traceback (most recent call last):
8282
...
8383
pydantic_core._pydantic_core.ValidationError: 1 validation error for CircuitImpact
8484
impact
8585
Input should be 'NO-IMPACT', 'REDUCED-REDUNDANCY', 'DEGRADED' or 'OUTAGE' [type=enum, input_value='wrong impact', input_type=str]
86+
...
8687
"""
8788

8889
circuit_id: StrictStr

0 commit comments

Comments
 (0)