code: def test_add_unknown_word_to_utterances_with_none_max_unknownword(
      self,
  ):
      # Given
      utterances = [text_to_utterance("yo")]
      replacement_string = "yo"
      unknown_word_prob = 1
      max_unknown_words = None
      random_state = np.random.RandomState()
  
      # When / Then
      with self.fail_if_exception(
          "Failed to augment utterances with " "max_unknownword=None"
      ):
          add_unknown_word_to_utterances(
              utterances,
              replacement_string,
              unknown_word_prob,
              max_unknown_words,
              random_state,
          )
  
imports: from __future__ import unicode_literals
  import io
  from copy import deepcopy
  from itertools import cycle
  import numpy
  from future.utils import itervalues, iteritems
  from mock import MagicMock, patch
  from snips_nlu.constants import INTENTS, LANGUAGE_EN, UTTERANCES, LANGUAGE, NOISE
  from snips_nlu.dataset import validate_and_format_dataset, Dataset
  from snips_nlu.intent_classifier.log_reg_classifier_utils import add_unknown_word_to_utterances, build_training_data, generate_noise_utterances, generate_smart_noise, get_noise_it, remove_builtin_slots, text_to_utterance
  from snips_nlu.pipeline.configs import IntentClassifierDataAugmentationConfig, LogRegIntentClassifierConfig
  from snips_nlu.tests.test_log_reg_intent_classifier import get_mocked_augment_utterances
  from snips_nlu.tests.utils import SnipsTest, get_empty_dataset
label_desc: Use image node_id 9 for calling the TestLogRegClassifierUtils obj's underlying member method code with example usage: obj.test_add_unknown_word_to_utterances_with_none_max_unknownword() without return types