code: def test_should_wrong_when_initialization_should_raise_error(self):
      # Given
      sequence = [("a", 1), ("b", 2), ("c", 3)]
      size_limit = len(sequence) - 1
      # When/Then
      with self.assertRaises(ValueError) as ctx:
          LimitedSizeDict(sequence, size_limit=size_limit)
      self.assertEqual(
          str(ctx.exception.args[0]),
          "Tried to initialize LimitedSizedDict with more "
          "value than permitted with 'limit_size'",
      )
  
imports: from __future__ import unicode_literals
  import logging
  from future.builtins import object, str
  from future.utils import iteritems
  from mock import MagicMock
  from snips_nlu import __model_version__, __version__
  from snips_nlu.common.dict_utils import LimitedSizeDict
  from snips_nlu.common.log_utils import DifferedLoggingMessage
  from snips_nlu.common.utils import ranges_overlap, replace_entities_with_placeholders, parse_version
  from snips_nlu.constants import END, START
  from snips_nlu.preprocessing import tokenize_light
  from snips_nlu.tests.utils import SnipsTest
label_desc: Use image node_id 4 for calling the TestLimitedSizeDict obj's underlying member method code with example usage: obj.test_should_wrong_when_initialization_should_raise_error() without return types