Skip to content

Commit 661fd50

Browse files
committed
Move Element lazy import to stdlib import group
1 parent 70ce71d commit 661fd50

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/test/libregrtest/results.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
import sys
22
import trace
33
from _colorize import get_colors # type: ignore[import-not-found]
4+
lazy from xml.etree.ElementTree import Element
45

56
from .runtests import RunTests
67
from .result import State, TestResult, TestStats, Location
78
from .utils import (
89
StrPath, TestName, TestTuple, TestList, FilterDict,
910
printlist, count, format_duration)
1011

11-
lazy from xml.etree.ElementTree import Element
12-
1312

1413
# Python uses exit code 1 when an exception is not caught
1514
# argparse.ArgumentParser.error() uses exit code 2

0 commit comments

Comments
 (0)