diff --git a/tests/test_deprecated.py b/tests/test_deprecated.py index 2c4a6b9c75ec59..ee52a16eb1282f 100644 --- a/tests/test_deprecated.py +++ b/tests/test_deprecated.py @@ -37,6 +37,7 @@ def test_tbd_remove_in_v0_8_0_trainer(): } # skip 0 since it may be interested as False kwargs = {k: (i + 1) for i, k in enumerate(mapping_old_new)} + trainer = Trainer(**kwargs) for attr_old in mapping_old_new: