python312Packages.pytest-examples: skip failing tests
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
black,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pytest,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
black,
|
||||
ruff,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -15,8 +14,6 @@ buildPythonPackage rec {
|
||||
version = "0.0.15";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydantic";
|
||||
repo = "pytest-examples";
|
||||
@@ -39,6 +36,13 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "pytest_examples" ];
|
||||
|
||||
disabledTests = [
|
||||
# Fails with AssertionError because formatting is different than expected
|
||||
"test_black_error"
|
||||
"test_black_error_dot_space"
|
||||
"test_black_error_multiline"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Pytest plugin for testing examples in docstrings and markdown files";
|
||||
homepage = "https://github.com/pydantic/pytest-examples";
|
||||
|
||||
Reference in New Issue
Block a user