sanic: disable failing test on darwin
commit07e0891d170e18c35452fcda220db11beafb6ae2
authorThiago Kenji Okada <thiagokokada@gmail.com>
dateThu 4 Nov 2021, 21:56 (5 years ago)
parent88cee8a
pkgs/development/python-modules/sanic/default.nix+6
@@ -1,4 +1,5 @@
11{ lib
2+, stdenv
23, aiofiles
34, beautifulsoup4
45, buildPythonPackage
@@ -83,8 +84,13 @@ buildPythonPackage rec {
8384 "test_create_server_main_convenience"
8485 "test_debug"
8586 "test_auto_reload"
87+ ] ++ lib.optionals stdenv.isDarwin [
88+ # https://github.com/sanic-org/sanic/issues/2298
89+ "test_no_exceptions_when_cancel_pending_request"
8690 ];
8791
92+ # avoid usage of nixpkgs-review in darwin since tests will compete usage
93+ # for the same local port
8894 __darwinAllowLocalNetworking = true;
8995
9096 pythonImportsCheck = [ "sanic" ];