python310Packages.pdoc: Disable failing tests

and allow local networking on darwin, so the tests can spawn a
webserver.
This commit is contained in:
Martin Weinelt 2023-03-05 17:37:57 +00:00
parent bd162001d7
commit 09291c87c9
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -46,11 +46,16 @@ buildPythonPackage rec {
# This test seems to be sensitive to ordering of dictionary items and the version of dependencies.
# the only difference between the stored snapshot and the produced documentation is a debug javascript comment
"html-demopackage_dir"
# snapshot tests mismatch with latest pygments version
"test_snapshots"
];
pytestFlagsArray = [
''-m "not slow"'' # skip tests marked slow
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "pdoc" ];
meta = with lib; {