@staticmethod<EOL><INDENT>def create(key_name: str, sections: List[str]): <DEDENT>
return MultipleKeyOccurenceInConfigurationError('<STR_LIT>'<EOL>'<STR_LIT>' + key_name + '<STR_LIT>'<EOL>'<STR_LIT>' + str(sections) + '<STR_LIT>')<EOL>
Helper method provided because we actually can't put that in the constructor, it creates a bug in Nose tests
https://github.com/nose-devs/nose/issues/725

:param key_name:
:param sections:
:return: