Skip to content

Commit

Permalink
Update pattern used to confirm skipped test to work with newer versio…
Browse files Browse the repository at this point in the history
…ns of pytest
  • Loading branch information
Paddy Carey authored and paddycarey committed Feb 7, 2019
1 parent d764b1c commit 8ddb2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def hello():
# Run it again, it should be skipped
result = testdir.runpytest("--black", "-rs")
result.assert_outcomes(skipped=1)
result.stdout.fnmatch_lines(["SKIP * previously passed black format checks"])
result.stdout.fnmatch_lines(["SKIP*previously passed black format checks"])

# Update the file and test again.
p.write(contents)
Expand Down

0 comments on commit 8ddb2ba

Please sign in to comment.