diff --git a/pkgs/development/python-modules/censys/default.nix b/pkgs/development/python-modules/censys/default.nix index dcd92647d0fa..5b098bfb3ea1 100644 --- a/pkgs/development/python-modules/censys/default.nix +++ b/pkgs/development/python-modules/censys/default.nix @@ -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 = {