def test_reflected_event_ops():
 AreEqual(str(IronPythonTest.Events.StaticTest.Event), '<event# StaticTest on Events>')
 t_list = [IronPythonTest.Events.StaticTest.Event, IronPythonTest.Events().InstanceTest.Event]
 for stuff in t_list:
  for (inst, val) in [(None, None), (1, None), (None, 1), (1, 1), ('abc', 'xyz')]:
   AssertError(AttributeError, stuff.__set__, inst, val)
   AssertError(AttributeError, stuff.__delete__, inst)
 AssertError(AttributeError, IronPythonTest.Events.StaticTest.Event.__set__, None, IronPythonTest.Events().InstanceTest)
 AssertError(AttributeError, IronPythonTest.Events.StaticTest.Event.__delete__, IronPythonTest.Events().InstanceTest)
 for stuff in [None, 1, 'abc']:
  IronPythonTest.Events.StaticTest.Event.__set__(stuff, IronPythonTest.Events.StaticTest)

def test_reflected_event_ops ( ) : AreEqual ( str ( IronPythonTest . Events . StaticTest . Event ) , '<event# StaticTest on Events>' ) t_list = [ IronPythonTest . Events . StaticTest . Event , IronPythonTest . Events ( ) . InstanceTest . Event ] for stuff in t_list : for ( inst , val ) in [ ( None , None ) , ( 1 , None ) , ( None , 1 ) , ( 1 , 1 ) , ( 'abc' , 'xyz' ) ] : AssertError ( AttributeError , stuff . __set__ , inst , val ) AssertError ( AttributeError , stuff . __delete__ , inst ) AssertError ( AttributeError , IronPythonTest . Events . StaticTest . Event . __set__ , None , IronPythonTest . Events ( ) . InstanceTest ) AssertError ( AttributeError , IronPythonTest . Events . StaticTest . Event . __delete__ , IronPythonTest . Events ( ) . InstanceTest ) for stuff in [ None , 1 , 'abc' ] : IronPythonTest . Events . StaticTest . Event . __set__ ( stuff , IronPythonTest . Events . StaticTest )
test to hit ironpython .