python312Packages.pytest-examples: skip failing tests (#383886)

authored by Gaétan Lepage and committed by GitHub 4182af42 3b236174

+9 -5
+9 -5
pkgs/development/python-modules/pytest-examples/default.nix
··· 1 1 { 2 2 lib, 3 - black, 4 3 buildPythonPackage, 5 4 fetchFromGitHub, 6 5 hatchling, 7 6 pytest, 7 + black, 8 + ruff, 8 9 pytestCheckHook, 9 - pythonOlder, 10 - ruff, 11 10 }: 12 11 13 12 buildPythonPackage rec { 14 13 pname = "pytest-examples"; 15 14 version = "0.0.15"; 16 15 pyproject = true; 17 - 18 - disabled = pythonOlder "3.8"; 19 16 20 17 src = fetchFromGitHub { 21 18 owner = "pydantic"; ··· 38 35 nativeCheckInputs = [ pytestCheckHook ]; 39 36 40 37 pythonImportsCheck = [ "pytest_examples" ]; 38 + 39 + disabledTests = [ 40 + # Fails with AssertionError because formatting is different than expected 41 + "test_black_error" 42 + "test_black_error_dot_space" 43 + "test_black_error_multiline" 44 + ]; 41 45 42 46 meta = { 43 47 description = "Pytest plugin for testing examples in docstrings and markdown files";