about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-08-18 11:35:45 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-08-18 11:48:40 +0200
commit33263a7efb1df45edab92d97d7f4ad45aedcc1cd (patch)
treef8496f0914e8b23f0755fd28cac2df53139df5b7
parent8ea496330bc91b22c6150513fd9875c1a13c9bbb (diff)
downloadnixlib-33263a7efb1df45edab92d97d7f4ad45aedcc1cd.tar
nixlib-33263a7efb1df45edab92d97d7f4ad45aedcc1cd.tar.gz
nixlib-33263a7efb1df45edab92d97d7f4ad45aedcc1cd.tar.bz2
nixlib-33263a7efb1df45edab92d97d7f4ad45aedcc1cd.tar.lz
nixlib-33263a7efb1df45edab92d97d7f4ad45aedcc1cd.tar.xz
nixlib-33263a7efb1df45edab92d97d7f4ad45aedcc1cd.tar.zst
nixlib-33263a7efb1df45edab92d97d7f4ad45aedcc1cd.zip
python3Packages.aiohttp: fix tests
-rw-r--r--pkgs/development/python-modules/aiohttp/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix
index 5769109f7741..049ceb124ea0 100644
--- a/pkgs/development/python-modules/aiohttp/default.nix
+++ b/pkgs/development/python-modules/aiohttp/default.nix
@@ -40,14 +40,10 @@ 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" ""
+  checkPhase = ''
+    pytest -k "not test__get_valid_log_format_exc and not test_access_logger_atoms"
   '';
 
-  # coroutine 'noop2' was never awaited
-  doCheck = false;
-
   meta = with lib; {
     description = "Asynchronous HTTP Client/Server for Python and asyncio";
     license = licenses.asl20;