From 28ebb58c192ae051f465e877ac6bc5fb2e3f5dff Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 5 May 2024 23:30:36 +0200 Subject: [PATCH] python312Packages.paypalhttp: fix tests --- pkgs/development/python-modules/paypalhttp/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/paypalhttp/default.nix b/pkgs/development/python-modules/paypalhttp/default.nix index 25c6aa1ba878..ab0228ef06ab 100644 --- a/pkgs/development/python-modules/paypalhttp/default.nix +++ b/pkgs/development/python-modules/paypalhttp/default.nix @@ -24,6 +24,11 @@ buildPythonPackage rec { hash = "sha256-3ihcpYtpcejPkiyf4g4jveyNU6flQB2sv9EZ5Pd7tUc="; }; + postPatch = '' + substituteInPlace tests/http_response_test.py \ + --replace-fail assertEquals assertEqual + ''; + propagatedBuildInputs = [ requests six