docstr: ...Test that assign read only attribute defined in parent class
  can be override in children class
docstr_tok: ["...","Test","that","assign","read","only","attribute","defined","in","parent","class","can","be","override","in","children","class"]
code: def test_override_readonly(self):
      """...Test that assign read only attribute defined in parent class
      can be override in children class
      """
  
      def fz0(x):
          self.a0.z0 = x
  
      def fz1(x):
          self.a1.z0 = x
  
      def fz2(x):
          self.a2.z0 = x
  
      def fk0(x):
          self.a0.k0 = x
  
      def fk1(x):
          self.a1.k0 = x
  
      def fk2(x):
          self.a2.k0 = x
  
      def fx2(x):
          self.a2.x0 = x
  
      # This will raise any error as z0 is not writable in A0 and k0 is not
      #  writable in A1
      self.assertRaises(AttributeError, fz0, 3)
      self.assertRaises(AttributeError, fk1, 3)
      self.assertRaises(AttributeError, fk2, 3)
      self.assertRaises(AttributeError, fx2, 3)
  
      # This will not raise any error as z0 is writable in A1 and k0 is
      # writable in A0
      fz1(3)
      fk0(3)
      fz2(3)
  
imports: import sys
  import unittest
  from tick.base import Base
  from tick.base.build.base import A0
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_override_readonly() without return types