'Set up test fixtures.'

def setUp(self):

    self.valid_exceptions = {enum.EnumEmptyError: dict(min_args=0, types=(enum.EnumException, AssertionError)), enum.EnumBadKeyError: dict(min_args=1, types=(enum.EnumException, TypeError)), enum.EnumImmutableError: dict(min_args=1, types=(enum.EnumException, TypeError))}
    for (exc_type, params) in self.valid_exceptions.items():
        args = ((None,) * params['min_args'])
        instance = exc_type(*args)
        self.valid_exceptions[exc_type]['instance'] = instance
