python3Packages.trio: fix tests
This commit is contained in:
parent
ca912341b0
commit
79aaa4f2ae
@ -5,7 +5,7 @@
|
|||||||
, idna
|
, idna
|
||||||
, outcome
|
, outcome
|
||||||
, contextvars
|
, contextvars
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pyopenssl
|
, pyopenssl
|
||||||
, trustme
|
, trustme
|
||||||
, sniffio
|
, sniffio
|
||||||
@ -26,15 +26,15 @@ buildPythonPackage rec {
|
|||||||
sha256 = "df067dd0560c321af39d412cd81fc3a7d13f55af9150527daab980683e9fcf3c";
|
sha256 = "df067dd0560c321af39d412cd81fc3a7d13f55af9150527daab980683e9fcf3c";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ astor pytest pyopenssl trustme jedi pylint yapf ];
|
checkInputs = [ astor pytestCheckHook pyopenssl trustme jedi pylint yapf ];
|
||||||
# It appears that the build sandbox doesn't include /etc/services, and these tests try to use it.
|
# It appears that the build sandbox doesn't include /etc/services, and these tests try to use it.
|
||||||
checkPhase = ''
|
disabledTests = [
|
||||||
HOME=$TMPDIR py.test -k 'not getnameinfo \
|
"getnameinfo"
|
||||||
and not SocketType_resolve \
|
"SocketType_resolve"
|
||||||
and not getprotobyname \
|
"getprotobyname"
|
||||||
and not waitpid \
|
"waitpid"
|
||||||
and not static_tool_sees_all_symbols'
|
"static_tool_sees_all_symbols"
|
||||||
'';
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
attrs
|
attrs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user