1 https://github.com/shopkeep/pytest-black/issues/66
3 --- pytest-black-0.3.12/tests/test_black.py.orig
4 +++ pytest-black-0.3.12/tests/test_black.py
6 # Rename pyproject.toml ¯\_(ツ)_/¯
7 testdir.run("mv", "test_exclude.pyproject.toml", "pyproject.toml")
9 - result = testdir.runpytest("--black")
10 + result = testdir.runpytest("--black", "-p", "no:checkdocs")
11 result.assert_outcomes(skipped=1, passed=0)
15 # Rename pyproject.toml ¯\_(ツ)_/¯
16 testdir.run("mv", "test_exclude_folder.pyproject.toml", "pyproject.toml")
18 - result = testdir.runpytest("--black")
19 + result = testdir.runpytest("--black", "-p", "no:checkdocs")
20 result.assert_outcomes(skipped=1, passed=0)
24 # Rename pyproject.toml ¯\_(ツ)_/¯
25 testdir.run("mv", "test_include.pyproject.toml", "pyproject.toml")
27 - result = testdir.runpytest("--black")
28 + result = testdir.runpytest("--black", "-p", "no:checkdocs")
29 result.assert_outcomes(skipped=0, passed=1)