python311Packages.webtest-aiohttp: fix tests

apply https://github.com/sloria/webtest-aiohttp/pull/7
This commit is contained in:
Robert Schütz 2023-01-21 16:48:11 -08:00
parent bdfb499f40
commit 5ebf4e73e2

View File

@ -2,6 +2,7 @@
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
@ -22,6 +23,14 @@ buildPythonPackage rec {
sha256 = "sha256-UuAz/k/Tnumupv3ybFR7PkYHwG3kH7M5oobZykEP+ao=";
};
patches = [
(fetchpatch {
name = "python311-compat.patch";
url = "https://github.com/sloria/webtest-aiohttp/commit/64e5ab1867ea9ef87901bb2a1a6142566bffc90b.patch";
hash = "sha256-OKJGajqJLFMkcbGmGfU9G5hCpJaj24Gs363sI0z7YZw=";
})
];
propagatedBuildInputs = [
webtest
];