Skip to content

Commit 55ec1d7

Browse files
committed
Update test_junitxml.py to interpret XPASS as passed
1 parent 225341c commit 55ec1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_junitxml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def test_xpass():
100100
result, dom = runandparse(testdir)
101101
assert result.ret
102102
node = dom.find_first_by_tag("testsuite")
103-
node.assert_attr(name="pytest", errors=0, failures=1, skips=3, tests=5)
103+
node.assert_attr(name="pytest", errors=0, failures=1, skips=2, tests=5)
104104

105105
def test_timing_function(self, testdir):
106106
testdir.makepyfile("""

0 commit comments

Comments
 (0)