def test_does_not_contain_defaults():
    """Due to the way our merging works, if this schema has any defaults they
    will clobber potentially useful values in the backing manifest. #227
    """
    to_process = [(CONFIG_JSON_SCHEMA, ())]
    while to_process:
        schema, route = to_process.pop()
        # Check this value
        if isinstance(schema, dict):
            if 'default' in schema:
                raise AssertionError(
                    'Unexpected default in schema at {0}'.format(
                        ' => '.join(route),
                    )
                )

            for key, value in schema.items():
                to_process.append((value, route + (key,)))
dataset/ETHPy150Open pre-commit/pre-commit/tests/clientlib/validate_config_test.py/test_does_not_contain_defaults/original