diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pysqueezebox/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pysqueezebox/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pysqueezebox/default.nix b/nixpkgs/pkgs/development/python-modules/pysqueezebox/default.nix index 7c9425a9d02a..31748f890765 100644 --- a/nixpkgs/pkgs/development/python-modules/pysqueezebox/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pysqueezebox/default.nix @@ -4,6 +4,7 @@ , fetchFromGitHub , pytest-asyncio , pytestCheckHook +, pythonAtLeast , pythonOlder }: @@ -34,6 +35,11 @@ buildPythonPackage rec { "pysqueezebox" ]; + disabledTests = lib.optionals (pythonAtLeast "3.12") [ + # AttributeError: 'has_calls' is not a valid assertion. Use a spec for the mock if 'has_calls' is meant to be an attribute. + "test_verified_pause" + ]; + disabledTestPaths = [ # Tests require network access "tests/test_integration.py" |