Skip to content
Snippets Groups Projects
Commit e636e65a authored by Bas Nijholt's avatar Bas Nijholt
Browse files

add 'xfail' to 'LearnerND' for 'BalancingLearner' and link issue

parent fd4c076a
No related branches found
No related tags found
1 merge request!107Introduce 'tell_pending' which replaces 'tell(x, None)'
Pipeline #12196 passed
......@@ -351,7 +351,8 @@ def test_learner_performance_is_invariant_under_scaling(learner_type, f, learner
assert abs(learner.loss() - control.loss()) / learner.loss() < 1e-11
@run_with(Learner1D, Learner2D, LearnerND, AverageLearner)
# XXX: The LearnerND shouldn't fail, see https://gitlab.kwant-project.org/qt/adaptive/issues/105
@run_with(Learner1D, Learner2D, xfail(LearnerND), AverageLearner)
def test_balancing_learner(learner_type, f, learner_kwargs):
"""Test if the BalancingLearner works with the different types of learners."""
learners = [learner_type(generate_random_parametrization(f), **learner_kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment