We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If there is checkdocs pytest plugin installed the following tests fails:
FAILED tests/test_black.py::test_exclude_folder - AssertionError: assert {'er... FAILED tests/test_black.py::test_exclude - AssertionError: assert {'errors': ... FAILED tests/test_black.py::test_include - AssertionError: assert {'errors': ...
As a workaround I use the following patch:
--- pytest-black-0.3.12/tests/test_black.py.orig +++ pytest-black-0.3.12/tests/test_black.py @@ -92,7 +92,7 @@ # Rename pyproject.toml ¯\_(ツ)_/¯ testdir.run("mv", "test_exclude.pyproject.toml", "pyproject.toml") - result = testdir.runpytest("--black") + result = testdir.runpytest("--black", "-p", "no:checkdocs") result.assert_outcomes(skipped=1, passed=0) @@ -129,7 +129,7 @@ # Rename pyproject.toml ¯\_(ツ)_/¯ testdir.run("mv", "test_exclude_folder.pyproject.toml", "pyproject.toml") - result = testdir.runpytest("--black") + result = testdir.runpytest("--black", "-p", "no:checkdocs") result.assert_outcomes(skipped=1, passed=0) @@ -156,7 +156,7 @@ # Rename pyproject.toml ¯\_(ツ)_/¯ testdir.run("mv", "test_include.pyproject.toml", "pyproject.toml") - result = testdir.runpytest("--black") + result = testdir.runpytest("--black", "-p", "no:checkdocs") result.assert_outcomes(skipped=0, passed=1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If there is checkdocs pytest plugin installed the following tests fails:
As a workaround I use the following patch:
The text was updated successfully, but these errors were encountered: