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 changed files with 5 additions and 1 deletions
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue