code: def test_should_raise_when_no_size_limit(self):
      # Given/When/Then
      with self.assertRaises(ValueError) as ctx:
          LimitedSizeDict()
      self.assertEqual(
          str(ctx.exception.args[0]),
          "'size_limit' must be passed as a keyword argument",
      )
  
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 1 for calling the TestLimitedSizeDict obj's underlying member method code with example usage: obj.test_should_raise_when_no_size_limit() without return types