Skip to content

Commit 461ebbf

Browse files
committed
remove skip markers
1 parent 409854a commit 461ebbf

7 files changed

Lines changed: 0 additions & 233 deletions

File tree

tests/test_flows/test_flow.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,6 @@ def test_to_xml_from_xml(self):
179179
# Would raise exception if they are not legal
180180
openml.flows.functions.assert_flows_equal(new_flow, flow)
181181
assert new_flow is not flow
182-
183-
@pytest.mark.skipif(
184-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
185-
reason="Pending resolution of #1657",
186-
)
187182
@pytest.mark.sklearn()
188183
@pytest.mark.test_server()
189184
def test_publish_flow(self):
@@ -225,11 +220,6 @@ def test_publish_existing_flow(self, flow_exists_mock):
225220
TestBase.logger.info(
226221
f"collected from {__file__.split('/')[-1]}: {flow.flow_id}",
227222
)
228-
229-
@pytest.mark.skipif(
230-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
231-
reason="Pending resolution of #1657",
232-
)
233223
@pytest.mark.sklearn()
234224
@pytest.mark.test_server()
235225
def test_publish_flow_with_similar_components(self):
@@ -280,11 +270,6 @@ def test_publish_flow_with_similar_components(self):
280270
flow3.publish()
281271
TestBase._mark_entity_for_removal("flow", flow3.flow_id, flow3.name)
282272
TestBase.logger.info(f"collected from {__file__.split('/')[-1]}: {flow3.flow_id}")
283-
284-
@pytest.mark.skipif(
285-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
286-
reason="Pending resolution of #1657",
287-
)
288273
@pytest.mark.sklearn()
289274
@pytest.mark.test_server()
290275
def test_semi_legal_flow(self):
@@ -394,11 +379,6 @@ def get_sentinel():
394379

395380
flow_id = openml.flows.flow_exists(name, version)
396381
assert not flow_id
397-
398-
@pytest.mark.skipif(
399-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
400-
reason="Pending resolution of #1657",
401-
)
402382
@pytest.mark.sklearn()
403383
@pytest.mark.test_server()
404384
def test_existing_flow_exists(self):
@@ -439,11 +419,6 @@ def test_existing_flow_exists(self):
439419
flow.external_version,
440420
)
441421
assert downloaded_flow_id == flow.flow_id
442-
443-
@pytest.mark.skipif(
444-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
445-
reason="Pending resolution of #1657",
446-
)
447422
@pytest.mark.sklearn()
448423
@pytest.mark.test_server()
449424
def test_sklearn_to_upload_to_flow(self):

tests/test_flows/test_flow_functions.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,6 @@ def test_get_flow1(self):
309309
self.use_production_server()
310310
flow = openml.flows.get_flow(1)
311311
assert flow.external_version is None
312-
313-
@pytest.mark.skipif(
314-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
315-
reason="Pending resolution of #1657",
316-
)
317312
@pytest.mark.sklearn()
318313
@pytest.mark.test_server()
319314
def test_get_flow_reinstantiate_model(self):
@@ -396,11 +391,6 @@ def test_get_flow_reinstantiate_flow_not_strict_pre_023(self):
396391
flow = openml.flows.get_flow(flow_id=8175, reinstantiate=True, strict_version=False)
397392
assert flow.flow_id is None
398393
assert "sklearn==0.19.1" not in flow.dependencies
399-
400-
@pytest.mark.skipif(
401-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
402-
reason="Pending resolution of #1657",
403-
)
404394
@pytest.mark.sklearn()
405395
@pytest.mark.test_server()
406396
def test_get_flow_id(self):

tests/test_openml/test_api_calls.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ class TestConfig(openml.testing.TestBase):
2020
def test_too_long_uri(self):
2121
with pytest.raises(openml.exceptions.OpenMLServerError, match="URI too long!"):
2222
openml.datasets.list_datasets(data_id=list(range(10000)))
23-
24-
@pytest.mark.skipif(
25-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
26-
reason="Pending resolution of #1657",
27-
)
2823
@unittest.mock.patch("time.sleep")
2924
@unittest.mock.patch("requests.Session")
3025
@pytest.mark.test_server()

tests/test_runs/test_run.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ def _check_array(array, type_):
117117
np.testing.assert_array_equal(string_part, string_part_prime)
118118
else:
119119
assert run_prime_trace_content is None
120-
121-
@pytest.mark.skipif(
122-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
123-
reason="Pending resolution of #1657",
124-
)
125120
@pytest.mark.sklearn()
126121
@pytest.mark.test_server()
127122
def test_to_from_filesystem_vanilla(self):
@@ -156,11 +151,6 @@ def test_to_from_filesystem_vanilla(self):
156151
TestBase.logger.info(
157152
f"collected from {__file__.split('/')[-1]}: {run_prime.run_id}",
158153
)
159-
160-
@pytest.mark.skipif(
161-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
162-
reason="Pending resolution of #1657",
163-
)
164154
@pytest.mark.sklearn()
165155
@pytest.mark.flaky()
166156
@pytest.mark.test_server()
@@ -196,11 +186,6 @@ def test_to_from_filesystem_search(self):
196186
TestBase.logger.info(
197187
f"collected from {__file__.split('/')[-1]}: {run_prime.run_id}",
198188
)
199-
200-
@pytest.mark.skipif(
201-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
202-
reason="Pending resolution of #1657",
203-
)
204189
@pytest.mark.sklearn()
205190
@pytest.mark.test_server()
206191
def test_to_from_filesystem_no_model(self):
@@ -306,11 +291,6 @@ def assert_run_prediction_data(task, run, model):
306291
# Assert correctness
307292
assert_method(y_pred, saved_y_pred)
308293
assert_method(y_test, saved_y_test)
309-
310-
@pytest.mark.skipif(
311-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
312-
reason="Pending resolution of #1657",
313-
)
314294
@pytest.mark.sklearn()
315295
@pytest.mark.test_server()
316296
def test_publish_with_local_loaded_flow(self):
@@ -354,11 +334,6 @@ def test_publish_with_local_loaded_flow(self):
354334
# make sure the flow is published as part of publishing the run.
355335
assert openml.flows.flow_exists(flow.name, flow.external_version)
356336
openml.runs.get_run(loaded_run.run_id)
357-
358-
@pytest.mark.skipif(
359-
os.getenv("OPENML_USE_LOCAL_SERVICES") == "true",
360-
reason="Pending resolution of #1657",
361-
)
362337
@pytest.mark.sklearn()
363338
@pytest.mark.test_server()
364339
def test_offline_and_online_run_identical(self):

0 commit comments

Comments
 (0)