Skip to content

Commit f804220

Browse files
committed
fixes unit test (because 2.7 failed)
1 parent 62a71eb commit f804220

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_flows/test_flow.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,10 @@ def test_exiting_flow_exists(self):
189189
nb = sklearn.naive_bayes.GaussianNB()
190190
flow = openml.flows.sklearn_to_flow(nb)
191191
flow.name = 'TEST%s%s' % (sentinel, flow.name)
192-
192+
#publish the flow
193193
flow = flow.publish()
194+
#redownload the flow
195+
flow = openml.flows.get_flow(flow.flow_id)
194196

195197
# check if flow exists can find it
196198
flow = openml.flows.get_flow(flow.flow_id)

0 commit comments

Comments
 (0)