code: def test_init(self):
      with self.assertRaises(AssertionError):
          TextSnakeHead(in_channels="test")
  
imports: from unittest import TestCase
  import torch
  from mmocr.models.textdet.heads import TextSnakeHead
label_desc: Use image node_id 1 for calling the TestTextSnakeHead obj's underlying member method code with example usage: obj.test_init() without return types