File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
pkgs/development/python-modules/cleanlab Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 1313 tqdm ,
1414 pandas ,
1515
16- # test dependencies
16+ # tests
1717 cleanvision ,
1818 datasets ,
1919 fasttext ,
2727 torch ,
2828 torchvision ,
2929 wget ,
30+ pythonAtLeast ,
3031} :
3132
3233buildPythonPackage rec {
@@ -74,10 +75,17 @@ buildPythonPackage rec {
7475 wget
7576 ] ;
7677
77- disabledTests = [
78- # Requires the datasets we prevent from downloading
79- "test_create_imagelab"
80- ] ;
78+ disabledTests =
79+ [
80+ # Requires the datasets we prevent from downloading
81+ "test_create_imagelab"
82+ ]
83+ ++ lib . optionals ( pythonAtLeast "3.12" ) [
84+ # AttributeError: 'called_once_with' is not a valid assertion.
85+ # Use a spec for the mock if 'called_once_with' is meant to be an attribute..
86+ # Did you mean: 'assert_called_once_with'?
87+ "test_custom_issue_manager_not_registered"
88+ ] ;
8189
8290 disabledTestPaths = [
8391 # Requires internet
You can’t perform that action at this time.
0 commit comments