python3Packages.censys: disable test_*_help on python 3.14+ (#521867)

This commit is contained in:
Fabian Affolter
2026-05-19 18:29:24 +00:00
committed by GitHub
@@ -10,6 +10,7 @@
pytest-mock,
pytest-cov-stub,
pytestCheckHook,
pythonAtLeast,
requests,
requests-mock,
responses,
@@ -54,6 +55,13 @@ buildPythonPackage rec {
mkdir -p $HOME
'';
disabledTests = lib.optionals (pythonAtLeast "3.14") [
# argparse usage prefix uses the actual prog (python3.14 -m pytest) instead of sys.argv[0]
"test_default_help"
"test_help"
"test_search_help"
];
pythonImportsCheck = [ "censys" ];
meta = {