From b5724354b7345329d5ba3aba04223a5655dc9304 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 2 Feb 2023 15:42:40 +0100 Subject: python310Packages.pytest-httpserver: Fix tests on darwin --- pkgs/development/python-modules/pytest-httpserver/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/development/python-modules/pytest-httpserver') diff --git a/pkgs/development/python-modules/pytest-httpserver/default.nix b/pkgs/development/python-modules/pytest-httpserver/default.nix index 1c69f426b169..feae84901304 100644 --- a/pkgs/development/python-modules/pytest-httpserver/default.nix +++ b/pkgs/development/python-modules/pytest-httpserver/default.nix @@ -37,6 +37,12 @@ buildPythonPackage rec { toml ]; + __darwinAllowLocalNetworking = true; + + disabledTests = [ + "test_wait_raise_assertion_false" # racy + ]; + pythonImportsCheck = [ "pytest_httpserver" ]; -- cgit v1.2.3