python3Packages.anyio: disable all socket-related tests on darwin
They don't work in their sandbox.
This commit is contained in:
parent
5a22c6f167
commit
b51bc901f1
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
@ -45,6 +46,9 @@ buildPythonPackage rec {
|
||||
pytestFlagsArray = [
|
||||
# lots of DNS lookups
|
||||
"--ignore=tests/test_sockets.py"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# darwin sandboxing limitations
|
||||
"--ignore=tests/streams/test_tls.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "anyio" ];
|
||||
|
Loading…
Reference in New Issue
Block a user