code: def test_deserialize_column_names_failures():
      table = Table(["t1", "t2"])
      with pytest.raises(RuntimeError):
          # different length
          table.deserialize({"title1": {0: 100}})
      with pytest.raises(RuntimeError):
          # different column names but same length
          d = {"tt1": {0: 100}, "tt2": {0: 101}}
          table.deserialize(d)
      with pytest.raises(TypeError):
          # not allowed types
          d = {"t1": {0: 100}, "t2": {0: "dummy string"}}
          table.deserialize(d)
  
file_path: lightning-flash/tests/core/serve/test_types/test_table.py
imports: import pytest
  import torch
  from flash.core.serve.types import Table
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 5 for calling a global function with example usage: test_deserialize_column_names_failures() without return types