python312Packages.minio: fix test on Python 3.12

This commit is contained in:
Fabian Affolter
2024-03-08 10:04:40 +01:00
parent 99c1fe49f7
commit 488f5080ad
@@ -32,6 +32,11 @@ buildPythonPackage rec {
hash = "sha256-hZn1T75JbnJ5lIyWnX3f8r6OET/d6ZltuRr6jjYOp2o=";
};
postPatch = ''
substituteInPlace tests/unit/crypto_test.py \
--replace-fail "assertEquals" "assertEqual"
'';
nativeBuildInputs = [
setuptools
];