summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytest-httpserver
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-02-02 15:42:40 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-02-02 15:42:40 +0100
commitb5724354b7345329d5ba3aba04223a5655dc9304 (patch)
tree2fcb0d4fdc1d0cdeeadcabd400df010b1ffe4938 /pkgs/development/python-modules/pytest-httpserver
parentfffb187b8ebea382b02a70d20dee945fbadd3359 (diff)
python310Packages.pytest-httpserver: Fix tests on darwin
Diffstat (limited to 'pkgs/development/python-modules/pytest-httpserver')
-rw-r--r--pkgs/development/python-modules/pytest-httpserver/default.nix6
1 files changed, 6 insertions, 0 deletions
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"
];