##### SUMMARY
Happened here: https://github.com/ansible-collections/community.general/pull/341

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
ansible-test

##### ANSIBLE VERSION
```paste below
devel
```

errors = []
        try:
            schema(doc)
        except Exception as e:
            for error in e.errors:
                error.data = doc
            errors.extend(e.errors)
        for error in errors:
            path = [str(p) for p in error.path]
            local_error_code = getattr(error, 'ansible_error_code', error_code)
            if isinstance(error.data, dict):
                error_message = humanize_error(error.data, error)
            else:
                error_message = error
            if path:
                combined_path = '%s.%s' % (name, '.'.join(path))
            else:
                combined_path = name
            self.reporter.error(
                path=self.object_path,
                code=local_error_code,
                msg='%s: %s' % (combined_path, error_message)
            )
    def _validate_docs(self):