Skip to content

Commit 216ad61

Browse files
committed
change flow id and server for unit test
1 parent 0160549 commit 216ad61

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_flows/test_flow_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ def test_get_flow_reinstantiate_model_no_extension(self):
277277
@unittest.skipIf(LooseVersion(sklearn.__version__) == "0.20.0",
278278
reason="No non-0.20 scikit-learn flow known.")
279279
def test_get_flow_reinstantiate_model_wrong_version(self):
280+
openml.config.server = self.production_server
280281
# 20 is scikit-learn ==0.20.0
281282
# I can't find a != 0.20 permanent flow on the test server.
282-
self.assertRaises(ValueError, openml.flows.get_flow, flow_id=20, reinstantiate=True)
283+
self.assertRaises(ValueError, openml.flows.get_flow, flow_id=7238, reinstantiate=True)

0 commit comments

Comments
 (0)