python3Packages.neoteroi-mkdocs: fix tests on sandboxed darwin

+8
+8
pkgs/development/python-modules/neoteroi-mkdocs/default.nix
··· 12 12 pytestCheckHook, 13 13 rich, 14 14 setuptools, 15 + stdenv, 15 16 }: 16 17 buildPythonPackage rec { 17 18 pname = "neoteroi-mkdocs"; ··· 47 48 ]; 48 49 49 50 pythonImportsCheck = [ "neoteroi.mkdocs" ]; 51 + 52 + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ 53 + # These tests start a server using a hardcoded port, and since 54 + # multiple Python versions are always built simultaneously, this 55 + # failure is quite likely to occur. 56 + "tests/test_http.py" 57 + ]; 50 58 51 59 meta = with lib; { 52 60 homepage = "https://github.com/Neoteroi/mkdocs-plugins";