def METHOD_NAME(self):
    ts.T_BOOL = True
    self.assertEqual(ts.T_BOOL, True)
    ts.T_BOOL = False
    self.assertEqual(ts.T_BOOL, False)
    self.assertRaises(TypeError, setattr, ts, 'T_BOOL', 1)