Skip to content

Commit e074ac3

Browse files
datapythonistaproost
authored andcommitted
CI: Fix print skipped tests (pandas-dev#30044)
1 parent 6691be4 commit e074ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/print_skipped.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
def main(filename):
77
if not os.path.isfile(filename):
8-
return
8+
raise RuntimeError(f"Could not find junit file {filename!r}")
99

1010
tree = et.parse(filename)
1111
root = tree.getroot()
1212
current_class = ""
13-
for el in root.findall("testcase"):
13+
for el in root.iter("testcase"):
1414
cn = el.attrib["classname"]
1515
for sk in el.findall("skipped"):
1616
old_class = current_class

0 commit comments

Comments
 (0)