Skip to content

Commit 78bf7fe

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e9642c1 commit 78bf7fe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

testing/test_skipping.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,9 +1530,11 @@ def test_expected_failure():
15301530
"""
15311531
)
15321532
result = pytester.runpytest("-q")
1533-
result.stdout.fnmatch_lines([
1534-
"*1 passed, 1 xfailed, 1 error*",
1535-
])
1533+
result.stdout.fnmatch_lines(
1534+
[
1535+
"*1 passed, 1 xfailed, 1 error*",
1536+
]
1537+
)
15361538
# Make sure we don't have duplicate xfails (would be "2 xfailed" before the fix)
15371539
assert "2 xfailed" not in result.stdout.str()
15381540
assert "1 xfailed" in result.stdout.str()

0 commit comments

Comments
 (0)