From 9bf387aa9d4bc4039accab9e301ae2cd9c98b0ca Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Fri, 20 Dec 2024 01:54:54 +0800 Subject: [PATCH] python3Packages.pytest-forked: use pytestFlags --- pkgs/development/python-modules/pytest-forked/setup-hook.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest-forked/setup-hook.sh b/pkgs/development/python-modules/pytest-forked/setup-hook.sh index 88ccd0aac171..360ddfdfdaf5 100644 --- a/pkgs/development/python-modules/pytest-forked/setup-hook.sh +++ b/pkgs/development/python-modules/pytest-forked/setup-hook.sh @@ -1,7 +1,5 @@ pytestForkedHook() { - pytestFlagsArray+=( - "--forked" - ) + appendToVar pytestFlags "--forked" # Using --forked on darwin leads to crashes when fork safety is # enabled. This often happens when urllib tries to request proxy