python312Packages.pytest-examples: skip failing tests

This commit is contained in:
Gaetan Lepage
2025-02-21 11:35:47 +01:00
parent 4999dc51c1
commit 8984ed43d0
@@ -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";