@@ -413,7 +413,6 @@ def test_run_regression_on_classif_task(self):
413413 task = task ,
414414 )
415415
416- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
417416 @pytest .mark .sklearn ()
418417 def test_check_erronous_sklearn_flow_fails (self ):
419418 task_id = 115 # diabetes; crossvalidation
@@ -882,7 +881,6 @@ def test_run_and_upload_maskedarrays(self):
882881
883882 ##########################################################################
884883
885- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
886884 @pytest .mark .sklearn ()
887885 def test_learning_curve_task_1 (self ):
888886 task_id = 801 # diabates dataset
@@ -907,7 +905,6 @@ def test_learning_curve_task_1(self):
907905 )
908906 self ._check_sample_evaluations (run .sample_evaluations , num_repeats , num_folds , num_samples )
909907
910- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
911908 @pytest .mark .sklearn ()
912909 def test_learning_curve_task_2 (self ):
913910 task_id = 801 # diabates dataset
@@ -944,7 +941,6 @@ def test_learning_curve_task_2(self):
944941 )
945942 self ._check_sample_evaluations (run .sample_evaluations , num_repeats , num_folds , num_samples )
946943
947- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
948944 @pytest .mark .sklearn ()
949945 @unittest .skipIf (
950946 Version (sklearn .__version__ ) < Version ("0.21" ),
@@ -1023,7 +1019,6 @@ def _test_local_evaluations(self, run):
10231019 assert alt_scores [idx ] >= 0
10241020 assert alt_scores [idx ] <= 1
10251021
1026- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
10271022 @pytest .mark .sklearn ()
10281023 def test_local_run_swapped_parameter_order_model (self ):
10291024 clf = DecisionTreeClassifier ()
@@ -1039,7 +1034,6 @@ def test_local_run_swapped_parameter_order_model(self):
10391034
10401035 self ._test_local_evaluations (run )
10411036
1042- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
10431037 @pytest .mark .sklearn ()
10441038 @unittest .skipIf (
10451039 Version (sklearn .__version__ ) < Version ("0.20" ),
@@ -1068,7 +1062,6 @@ def test_local_run_swapped_parameter_order_flow(self):
10681062
10691063 self ._test_local_evaluations (run )
10701064
1071- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
10721065 @pytest .mark .sklearn ()
10731066 @unittest .skipIf (
10741067 Version (sklearn .__version__ ) < Version ("0.20" ),
@@ -1106,7 +1099,6 @@ def test_online_run_metric_score(self):
11061099
11071100 self ._test_local_evaluations (run )
11081101
1109- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
11101102 @pytest .mark .sklearn ()
11111103 @unittest .skipIf (
11121104 Version (sklearn .__version__ ) < Version ("0.20" ),
@@ -1168,7 +1160,6 @@ def test_initialize_model_from_run(self):
11681160 assert flowS .components ["Imputer" ].parameters ["strategy" ] == '"most_frequent"'
11691161 assert flowS .components ["VarianceThreshold" ].parameters ["threshold" ] == "0.05"
11701162
1171- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
11721163 @pytest .mark .sklearn ()
11731164 @unittest .skipIf (
11741165 Version (sklearn .__version__ ) < Version ("0.20" ),
@@ -1228,7 +1219,6 @@ def test__run_exists(self):
12281219 run_ids = run_exists (task .task_id , setup_exists )
12291220 assert run_ids , (run_ids , clf )
12301221
1231- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
12321222 @pytest .mark .sklearn ()
12331223 def test_run_with_illegal_flow_id (self ):
12341224 # check the case where the user adds an illegal flow id to a
@@ -1248,7 +1238,6 @@ def test_run_with_illegal_flow_id(self):
12481238 avoid_duplicate_runs = True ,
12491239 )
12501240
1251- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
12521241 @pytest .mark .sklearn ()
12531242 def test_run_with_illegal_flow_id_after_load (self ):
12541243 # Same as `test_run_with_illegal_flow_id`, but test this error is also
@@ -1305,7 +1294,6 @@ def test_run_with_illegal_flow_id_1(self):
13051294 avoid_duplicate_runs = True ,
13061295 )
13071296
1308- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
13091297 @pytest .mark .sklearn ()
13101298 def test_run_with_illegal_flow_id_1_after_load (self ):
13111299 # Same as `test_run_with_illegal_flow_id_1`, but test this error is
@@ -1344,7 +1332,6 @@ def test_run_with_illegal_flow_id_1_after_load(self):
13441332 loaded_run .publish ,
13451333 )
13461334
1347- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
13481335 @pytest .mark .sklearn ()
13491336 @unittest .skipIf (
13501337 Version (sklearn .__version__ ) < Version ("0.20" ),
@@ -1572,7 +1559,6 @@ def test_get_runs_list_by_tag(self):
15721559 runs = openml .runs .list_runs (tag = "curves" , size = 2 )
15731560 assert len (runs ) >= 1
15741561
1575- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
15761562 @pytest .mark .sklearn ()
15771563 @unittest .skipIf (
15781564 Version (sklearn .__version__ ) < Version ("0.20" ),
@@ -1609,7 +1595,6 @@ def test_run_on_dataset_with_missing_labels_dataframe(self):
16091595 # repeat, fold, row_id, 6 confidences, prediction and correct label
16101596 assert len (row ) == 12
16111597
1612- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
16131598 @pytest .mark .sklearn ()
16141599 @unittest .skipIf (
16151600 Version (sklearn .__version__ ) < Version ("0.20" ),
@@ -1662,7 +1647,6 @@ def test_get_uncached_run(self):
16621647 with pytest .raises (openml .exceptions .OpenMLCacheException ):
16631648 openml .runs .functions ._get_cached_run (10 )
16641649
1665- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
16661650 @pytest .mark .sklearn ()
16671651 def test_run_flow_on_task_downloaded_flow (self ):
16681652 model = sklearn .ensemble .RandomForestClassifier (n_estimators = 33 )
@@ -1703,7 +1687,6 @@ def test_format_prediction_classification_no_probabilities(self):
17031687 with pytest .raises (ValueError , match = "`proba` is required for classification task" ):
17041688 format_prediction (classification , * ignored_input , proba = None )
17051689
1706- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
17071690 def test_format_prediction_classification_incomplete_probabilities (self ):
17081691 classification = openml .tasks .get_task (
17091692 self .TEST_SERVER_TASK_SIMPLE ["task_id" ],
@@ -1724,15 +1707,13 @@ def test_format_prediction_task_without_classlabels_set(self):
17241707 with pytest .raises (ValueError , match = "The classification task must have class labels set" ):
17251708 format_prediction (classification , * ignored_input , proba = {})
17261709
1727- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
17281710 def test_format_prediction_task_learning_curve_sample_not_set (self ):
17291711 learning_curve = openml .tasks .get_task (801 , download_data = False ) # diabetes;crossvalidation
17301712 probabilities = {c : 0.2 for c in learning_curve .class_labels }
17311713 ignored_input = [0 ] * 5
17321714 with pytest .raises (ValueError , match = "`sample` can not be none for LearningCurveTask" ):
17331715 format_prediction (learning_curve , * ignored_input , sample = None , proba = probabilities )
17341716
1735- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
17361717 def test_format_prediction_task_regression (self ):
17371718 task_meta_data = self .TEST_SERVER_TASK_REGRESSION ["task_meta_data" ]
17381719 _task_id = check_task_existence (** task_meta_data )
@@ -1762,7 +1743,6 @@ def test_format_prediction_task_regression(self):
17621743
17631744
17641745
1765- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
17661746 @unittest .skipIf (
17671747 Version (sklearn .__version__ ) < Version ("0.20" ),
17681748 reason = "SimpleImputer doesn't handle mixed type DataFrame as input" ,
@@ -1863,7 +1843,6 @@ def test_delete_unknown_run(mock_delete, test_files_directory, test_api_key):
18631843
18641844
18651845@pytest .mark .sklearn ()
1866- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
18671846@unittest .skipIf (
18681847 Version (sklearn .__version__ ) < Version ("0.21" ),
18691848 reason = "couldn't perform local tests successfully w/o bloating RAM" ,
@@ -1940,7 +1919,6 @@ def test__run_task_get_arffcontent_2(parallel_mock):
19401919 )
19411920
19421921
1943- @pytest .mark .xfail (reason = "failures_issue_1544" , strict = False )
19441922@pytest .mark .sklearn ()
19451923@unittest .skipIf (
19461924 Version (sklearn .__version__ ) < Version ("0.21" ),
0 commit comments