···2121, pythonOlder
2222, pyyaml
2323, requests
2424+, stdenv
2425, tornado
2526}:
2627···8485 "http"
8586 "test_read_pattern"
8687 "test_remote_arr"
8888+ "test_flatten_flag"
8989+ # Timing-based, flaky on darwin and possibly others
9090+ "TestServerV1Source.test_idle_timer"
9191+ ] ++ lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13") [
9292+ # Flaky with older low-res mtime on darwin < 10.13 (#143987)
9393+ "test_second_load_timestamp"
8794 ];
88958996 pythonImportsCheck = [
+12-2
pkgs/development/python-modules/sanic/default.nix
···6767 inherit doCheck;
68686969 preCheck = ''
7070- # Some tests depends on executables on PATH
7171- PATH="$out/bin:${gunicorn}/bin:$PATH"
7070+ # Some tests depends on sanic on PATH
7171+ PATH="$out/bin:$PATH"
7272 '';
73737474 disabledTests = [
···8585 "test_auto_reload"
8686 ] ++ lib.optionals stdenv.isDarwin [
8787 # https://github.com/sanic-org/sanic/issues/2298
8888+ "test_no_exceptions_when_cancel_pending_request"
8989+ ] ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
9090+ # These appear to be very sensitive to output of commands
9191+ # Output is different on aarch64
9292+ "test_server_run"
9393+ "test_host_port"
9494+ "test_num_workers"
9595+ "test_access_logs"
9696+ "test_version"
9797+ # Failing for a different reason than Darwin
8898 "test_no_exceptions_when_cancel_pending_request"
8999 ];
90100