diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2025-08-09 18:02:49 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2025-08-09 19:08:51 +0200 |
| commit | 827bea50532dfc57dbcc91844d6d521b6ddf95a9 (patch) | |
| tree | 8507135d33f420e960b106ae143ebd449db6ce83 | |
| parent | python3Packages.pysiaalarm: fix tests (diff) | |
| download | nixpkgs-827bea50532dfc57dbcc91844d6d521b6ddf95a9.tar.gz | |
python3Packages.pytest-mockservers: disable failing test
The event_loop fixutre was deprecated in pytest-asyncio 0.22 and removed
in 1.0. Since pytest-mockservers propagates pytest-asyncio we must not
propagate anything but the default pytest-asyncio package.
| -rw-r--r-- | pkgs/development/python-modules/pytest-mockservers/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-mockservers/default.nix b/pkgs/development/python-modules/pytest-mockservers/default.nix index 4f521fc236bf..6f8ad594ab5f 100644 --- a/pkgs/development/python-modules/pytest-mockservers/default.nix +++ b/pkgs/development/python-modules/pytest-mockservers/default.nix @@ -46,6 +46,9 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; + # relies on the removed event_loop fixture + disabledTests = [ "test_udp_server_factory" ]; + pythonImportsCheck = [ "pytest_mockservers" ]; meta = with lib; { |
