python310Packages.lightning-utilities: Disable failing doctests

One asks for torch, but providing torch breaks another test, that
expects torch not to be available.

The other does not `import os`, but tries to use bits from it.
This commit is contained in:
Martin Weinelt 2023-03-08 18:32:56 +01:00
parent abec532124
commit 644e671d80
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -49,6 +49,10 @@ buildPythonPackage rec {
"lightning_utilities.core.imports.RequirementCache"
"lightning_utilities.core.imports.compare_version"
"lightning_utilities.core.imports.get_dependency_min_version_spec"
# weird doctests fail on imports, but providing the dependency
# fails another test
"lightning_utilities.core.imports.ModuleAvailableCache"
"lightning_utilities.core.imports.requires"
];
disabledTestPaths = [