def testErrors( self ):

      style1 = MyStyle( 'Style #1' )
      style1.figure.text.size = 12
      style1.axes.text.size = 8

      msg = "Bad path failed to error"
      self.assertRaises( Exception, style1.getValue, 'this.is.a.bad.path', msg = msg )

      msg = "Mostly bad get path failed to error"
      self.assertRaises( Exception, style1.getValue, 'figure.text.bogus', msg = msg )

      msg = "Mostly bad set path failed to error"
      self.assertRaises( Exception, style1.setValue, 'figure.text.bogus', 'bad', msg = msg )
Call the function inside the rpc thread.
dataset/ETHPy150Open nasa/mplStyle/mplStyle/types/test/test_Style.py/TestStyle.testErrors--crossover with--dataset/ETHPy150Open felix-lang/fbuild/lib/fbuild/rpc.py/RPC.call