We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe77e34 commit 775dd40Copy full SHA for 775dd40
ci/print_skipped.py
@@ -5,12 +5,12 @@
5
6
def main(filename):
7
if not os.path.isfile(filename):
8
- return
+ raise RuntimeError(f"Could not find junit file {filename!r}")
9
10
tree = et.parse(filename)
11
root = tree.getroot()
12
current_class = ""
13
- for el in root.findall("testcase"):
+ for el in root.iter("testcase"):
14
cn = el.attrib["classname"]
15
for sk in el.findall("skipped"):
16
old_class = current_class
0 commit comments