def test_mispelled_mandatory_params_fail(self, cfg: DictConfig) -> None:
        """Check that mandatory mispelled inputs fail to train."""
        mandatory_params = [
            'max_seq_len',
            'device_eval_batch_size',
            'precision',
            'model_configs',
        ]
        mandatory_configs = ['models', 'icl_tasks']
        for p in mandatory_params + mandatory_configs:
            with pytest.raises((
                omegaconf.errors.ConfigKeyError,
                omegaconf.errors.InterpolationKeyError,
                omegaconf.errors.MissingMandatoryValue,
                TypeError,
                ValueError,
            )):
                cfg[p + '-mispelled'] = cfg.pop(p)
                evaluate(cfg)
                cfg[p] = cfg.pop(p + '-mispelled')
Check that mandatory mispelled inputs fail to train.
tests/a_scripts/eval/test_eval_inputs.py