Merge pull request #72002 from marsam/fix-pythonPackages.docker-darwin

pythonPackages.docker: fix build on darwin
This commit is contained in:
Domen Kožar 2019-10-26 10:17:38 +02:00 committed by GitHub
commit e478127e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,9 @@ buildPythonPackage rec {
];
# Other tests touch network
# Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket
checkPhase = ''
${pytest}/bin/pytest tests/unit/
${pytest}/bin/pytest tests/unit/ ${stdenv.lib.optionalString stdenv.isDarwin "--deselect=tests/unit/api_test.py::TCPSocketStreamTest"}
'';
meta = with stdenv.lib; {