gst-plugins-base1: Update to 1.22.1
[oi-userland.git] / components / python / pytest-black / patches / 01-test-no-checkdocs.patch
blob4543b32dfaca589fe03eba9c6399935f23465d7d
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
5 @@ -92,7 +92,7 @@
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)
14 @@ -129,7 +129,7 @@
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)
23 @@ -156,7 +156,7 @@
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)