pythonPackages.trio: fix tests
This commit is contained in:
parent
a4fc8c4b93
commit
4e5fa8d6d3
|
@ -29,8 +29,13 @@ buildPythonPackage rec {
|
||||||
checkInputs = [ astor pytest pyopenssl trustme jedi pylint yapf ];
|
checkInputs = [ astor pytest 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 = ''
|
checkPhase = ''
|
||||||
HOME="$(mktemp -d)" py.test -k 'not test_getnameinfo and not test_SocketType_resolve and not test_getprotobyname and not test_waitpid'
|
HOME=$TMPDIR py.test -k 'not getnameinfo \
|
||||||
|
and not SocketType_resolve \
|
||||||
|
and not getprotobyname \
|
||||||
|
and not waitpid \
|
||||||
|
and not static_tool_sees_all_symbols'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
attrs
|
attrs
|
||||||
sortedcontainers
|
sortedcontainers
|
||||||
|
|
Loading…
Reference in a new issue