From ff31f66f06d4fc7aec1128270a61a1146aa29eae Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Wed, 31 Jan 2024 19:52:55 +0100 Subject: [PATCH] fix one more test --- inst/testthat/helper_expectations.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/testthat/helper_expectations.R b/inst/testthat/helper_expectations.R index 352f22646..aaef795a6 100644 --- a/inst/testthat/helper_expectations.R +++ b/inst/testthat/helper_expectations.R @@ -399,7 +399,7 @@ expect_bundleable = function(learner, task) { exists(x, learner, inherits = FALSE) } has_private = function(learner, x) { - exists(x, get_private(learner), inherits = FALSE) + exists(x, mlr3misc::get_private(learner), inherits = FALSE) } expect_true(has_public(learner, "bundle") && test_function(learner$bundle, nargs = 0))