diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix index 35cfabc35dc1..316a281a106f 100644 --- a/pkgs/development/python-modules/twisted/default.nix +++ b/pkgs/development/python-modules/twisted/default.nix @@ -186,6 +186,12 @@ buildPythonPackage rec { "ProcessTestsBuilder_AsyncioSelectorReactorTests.test_processEnded" "ProcessTestsBuilder_SelectReactorTests.test_processEnded" ]; + "src/twisted/internet/test/test_tcp.py" = [ + # marked as flaky on macOS by upstream + # https://github.com/twisted/twisted/blob/twisted-25.5.0/src/twisted/internet/test/test_tcp.py + "AbortConnectionTests_AsyncioSelectorReactorTests.test_resumeProducingAbort" + "AbortConnectionTests_AsyncioSelectorReactorTests.test_resumeProducingAbortLater" + ]; }; in lib.concatStringsSep "\n" (