We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db65bdc + 2fffbcd commit e990242Copy full SHA for e990242
1 file changed
tests/test_runs/test_run_functions.py
@@ -519,7 +519,10 @@ def test_get_run_trace(self):
519
run = run.publish()
520
self._wait_for_processed_run(run.run_id, 200)
521
run_id = run.run_id
522
- except openml.exceptions.PyOpenMLError:
+ except openml.exceptions.PyOpenMLError as e:
523
+ if 'Run already exists in server' not in e.message:
524
+ # in this case the error was not the one we expected
525
+ raise e
526
# run was already
527
flow = openml.flows.sklearn_to_flow(clf)
528
flow_exists = openml.flows.flow_exists(flow.name, flow.external_version)
0 commit comments