python312Packages.cleanlab: disabled failing test on python 3.12
This commit is contained in:
parent
46e484a4ff
commit
922853783a
@ -13,7 +13,7 @@
|
|||||||
tqdm,
|
tqdm,
|
||||||
pandas,
|
pandas,
|
||||||
|
|
||||||
# test dependencies
|
# tests
|
||||||
cleanvision,
|
cleanvision,
|
||||||
datasets,
|
datasets,
|
||||||
fasttext,
|
fasttext,
|
||||||
@ -27,6 +27,7 @@
|
|||||||
torch,
|
torch,
|
||||||
torchvision,
|
torchvision,
|
||||||
wget,
|
wget,
|
||||||
|
pythonAtLeast,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -74,10 +75,17 @@ buildPythonPackage rec {
|
|||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests =
|
||||||
# Requires the datasets we prevent from downloading
|
[
|
||||||
"test_create_imagelab"
|
# Requires the datasets we prevent from downloading
|
||||||
];
|
"test_create_imagelab"
|
||||||
|
]
|
||||||
|
++ lib.optionals (pythonAtLeast "3.12") [
|
||||||
|
# AttributeError: 'called_once_with' is not a valid assertion.
|
||||||
|
# Use a spec for the mock if 'called_once_with' is meant to be an attribute..
|
||||||
|
# Did you mean: 'assert_called_once_with'?
|
||||||
|
"test_custom_issue_manager_not_registered"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
# Requires internet
|
# Requires internet
|
||||||
|
Loading…
Reference in New Issue
Block a user