python3Packages.aiohttp: fix tests

This commit is contained in:
Frederik Rietdijk 2019-08-18 11:35:45 +02:00
parent 8ea496330b
commit 33263a7efb
1 changed files with 2 additions and 6 deletions

View File

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