python312Packages.amqp: disable flaky test on

darwin.
This commit is contained in:
Thibault Gagnaux 2024-11-23 11:24:34 +01:00
parent badf0750d4
commit ae8e51d817
No known key found for this signature in database
GPG Key ID: 44BD0764ACAE8E25

View File

@ -1,4 +1,5 @@
{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
@ -29,9 +30,14 @@ buildPythonPackage rec {
pytest-rerunfailures
];
disabledTests = [
disabledTests =
[
# Requires network access
"test_rmq.py"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Requires network access but fails on macos only
"test_connection.py"
];
pythonImportsCheck = [ "amqp" ];