code: def templateAssertRaises(self, size, type_conn, height, width):
      try:
          network(size, type_conn, height, width)
          assert False
          # assert must occure
  
      except:
          pass
  
imports: import unittest
  import math
  from pyclustering.nnet import network, conn_type, conn_represent
label_desc: Use image node_id 40 for calling the NnetUnitTest obj's underlying member method code with example usage: obj.templateAssertRaises(size, type_conn, height, width) without return types