From 8ddb2ba7016a5d6aa743d946c1807f5e1ec2c339 Mon Sep 17 00:00:00 2001 From: Paddy Carey Date: Wed, 6 Feb 2019 23:48:10 +0000 Subject: [PATCH] Update pattern used to confirm skipped test to work with newer versions of pytest --- tests/test_black.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_black.py b/tests/test_black.py index a5b000f..f164ecf 100644 --- a/tests/test_black.py +++ b/tests/test_black.py @@ -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)