Unverified Commit c425e960 authored by Tom Hunze's avatar Tom Hunze
Browse files

python313Packages.help2man: disable broken test

parent ca8f7212
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,
  pythonOlder,
  jinja2,
  setuptools-scm,
@@ -35,6 +36,13 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = lib.optionals (pythonAtLeast "3.13") [
    # Checks the output of `help2man --help`.
    # Broken since 3.13 due to changes in `argparse`.
    # Upstream issue: https://github.com/Freed-Wu/help2man/issues/6
    "test_help"
  ];

  pythonImportsCheck = [ "help2man" ];

  meta = with lib; {