pythonPackages.coloredlogs: Disable tests for darwin on all python versions

This commit is contained in:
Sandro Jäckel 2021-01-26 19:10:40 +01:00
parent 3d91c405d4
commit 9e94dd6b8f
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -8,7 +8,6 @@
, pytest , pytest
, mock , mock
, util-linux , util-linux
, isPy38
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -24,7 +23,7 @@ buildPythonPackage rec {
# capturer is broken on darwin / py38, so we skip the test until a fix for # capturer is broken on darwin / py38, so we skip the test until a fix for
# https://github.com/xolox/python-capturer/issues/10 is released. # https://github.com/xolox/python-capturer/issues/10 is released.
doCheck = !(isPy38 && stdenv.isDarwin); doCheck = !stdenv.isDarwin;
checkPhase = '' checkPhase = ''
PATH=$PATH:$out/bin pytest . -k "not test_plain_text_output_format \ PATH=$PATH:$out/bin pytest . -k "not test_plain_text_output_format \
and not test_auto_install" and not test_auto_install"