code: def test_mixed_builtin_and_mixed_properties(
      text_classification_dataset_mock,
  ):
      # Arrange
      dataset = text_classification_dataset_mock
      properties = pd.DataFrame(
          {"custom": [1, 2, 3], "Average Word Length": [4, 5, 6]}
      )
  
      # Act
      dataset.set_properties(properties, categorical_properties=[])
  
      # Assert
      # The custom property is not categorical as we passed an empty list, and the builtin property is not categorical
      # as defined internally.
      assert_that(dataset.categorical_properties, equal_to([]))
  
      # Test that the builtin property is not overwritten by categorical_properties=[]
      # Arrange
      dataset = text_classification_dataset_mock
      properties = pd.DataFrame(
          {"custom": [1, 2, 3], "Language": ["en", "en", "es"]}
      )
  
      # Act
      dataset.set_properties(properties, categorical_properties=[])
  
      # Assert
      # The custom property is not categorical as we passed an empty list, and the builtin property is not categorical
      # as defined internally.
      assert_that(
          dataset.categorical_properties, equal_to(["Language"])
      )
  
imports: import numpy
  import pandas
  from hamcrest import assert_that, calling, contains_exactly, equal_to, raises
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.nlp.text_data import TextData
label_desc: Use image node_id 21 for calling a global function with example usage: test_mixed_builtin_and_mixed_properties(text_classification_dataset_mock) without return types