forked from mirrors/nixpkgs
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:
parent
abec532124
commit
644e671d80
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue