pythonPackages.aiohttp: disable tests

This commit is contained in:
Frederik Rietdijk 2019-06-15 08:42:51 +02:00
parent eda6360cb9
commit 3cf9c7163f

View File

@ -40,6 +40,14 @@ buildPythonPackage rec {
propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
++ lib.optionals (pythonOlder "3.7") [ idna-ssl typing-extensions ];
# Don't error on cryptography deprecation warning
postPatch = ''
substituteInPlace pytest.ini --replace "filterwarnings = error" ""
'';
# coroutine 'noop2' was never awaited
doCheck = false;
meta = with lib; {
description = "Asynchronous HTTP Client/Server for Python and asyncio";
license = licenses.asl20;