python312Packages.paypalhttp: fix tests

This commit is contained in:
Martin Weinelt 2024-05-05 23:30:36 +02:00
parent 923517acd6
commit 28ebb58c19
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -24,6 +24,11 @@ buildPythonPackage rec {
hash = "sha256-3ihcpYtpcejPkiyf4g4jveyNU6flQB2sv9EZ5Pd7tUc=";
};
postPatch = ''
substituteInPlace tests/http_response_test.py \
--replace-fail assertEquals assertEqual
'';
propagatedBuildInputs = [
requests
six