Skip to content

Commit c425e96

Browse files
committed
python313Packages.help2man: disable broken test
1 parent ca8f721 commit c425e96

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkgs/development/python-modules/help2man/default.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
buildPythonPackage,
44
fetchFromGitHub,
5+
pythonAtLeast,
56
pythonOlder,
67
jinja2,
78
setuptools-scm,
@@ -35,6 +36,13 @@ buildPythonPackage rec {
3536

3637
nativeCheckInputs = [ pytestCheckHook ];
3738

39+
disabledTests = lib.optionals (pythonAtLeast "3.13") [
40+
# Checks the output of `help2man --help`.
41+
# Broken since 3.13 due to changes in `argparse`.
42+
# Upstream issue: https://github.com/Freed-Wu/help2man/issues/6
43+
"test_help"
44+
];
45+
3846
pythonImportsCheck = [ "help2man" ];
3947

4048
meta = with lib; {

0 commit comments

Comments
 (0)