Merge pull request #102193 from mweinelt/python/anyio

This commit is contained in:
Sandro 2020-11-23 15:26:31 +01:00 committed by GitHub
commit bb8ed2f9e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib { stdenv
, lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder , pythonOlder
@ -45,6 +46,9 @@ buildPythonPackage rec {
pytestFlagsArray = [ pytestFlagsArray = [
# lots of DNS lookups # lots of DNS lookups
"--ignore=tests/test_sockets.py" "--ignore=tests/test_sockets.py"
] ++ lib.optionals stdenv.isDarwin [
# darwin sandboxing limitations
"--ignore=tests/streams/test_tls.py"
]; ];
pythonImportsCheck = [ "anyio" ]; pythonImportsCheck = [ "anyio" ];