code: def test_invalid_language_should_raise_exception(self):
      # Given
      dataset = {
          "intents": {},
          "entities": {},
          "language": "eng",
      }
  
      # When/Then
      with self.assertRaises(DatasetFormatError) as ctx:
          validate_and_format_dataset(dataset)
      self.assertEqual(
          "Unknown language: 'eng'", str(ctx.exception.args[0])
      )
  
imports: from __future__ import unicode_literals
  import io
  from builtins import range, str
  from future.utils import iteritems
  from mock import mock, patch
  from snips_nlu.constants import ENTITIES, SNIPS_DATETIME, VALIDATED
  from snips_nlu.dataset import Dataset
  from snips_nlu.dataset.validation import validate_and_format_dataset, _validate_and_format_custom_entity
  from snips_nlu.exceptions import DatasetFormatError
  from snips_nlu.tests.utils import SnipsTest, EntityParserMock
label_desc: Use image node_id 7 for calling the TestDatasetValidation obj's underlying member method code with example usage: obj.test_invalid_language_should_raise_exception() without return types