...
|
...
|
@@ -193,7 +193,8 @@ def test_adding_non_chosen_data(learner_type, f, learner_kwargs):
|
193
|
193
|
M = random.randint(10, 30)
|
194
|
194
|
pls = zip(*learner.choose_points(M))
|
195
|
195
|
cpls = zip(*control.choose_points(M))
|
196
|
|
- # Point ordering is not defined, so compare as sets
|
|
196
|
+ # Point ordering within a single call to 'choose_points'
|
|
197
|
+ # is not guaranteed to be the same by the API.
|
197
|
198
|
assert set(pls) == set(cpls)
|
198
|
199
|
|
199
|
200
|
|
...
|
...
|
@@ -220,7 +221,8 @@ def test_point_adding_order_is_irrelevant(learner_type, f, learner_kwargs):
|
220
|
221
|
M = random.randint(10, 30)
|
221
|
222
|
pls = zip(*learner.choose_points(M))
|
222
|
223
|
cpls = zip(*control.choose_points(M))
|
223
|
|
- # Point ordering is not defined, so compare as sets
|
|
224
|
+ # Point ordering within a single call to 'choose_points'
|
|
225
|
+ # is not guaranteed to be the same by the API.
|
224
|
226
|
assert set(pls) == set(cpls)
|
225
|
227
|
|
226
|
228
|
|