tests/python/python@py_ext/py_ext.xml
changeset 1067 4f460c1dffb5
parent 862 bb59865db6e6
equal deleted inserted replaced
1066:b6a5ae4a68d7 1067:4f460c1dffb5
    13     else:
    13     else:
    14         print "Failed Python_to_C_Call failed"
    14         print "Failed Python_to_C_Call failed"
    15         res = None
    15         res = None
    16     sys.stdout.flush()
    16     sys.stdout.flush()
    17     return res
    17     return res
       
    18 
       
    19 async_error_test_code = """
       
    20 def badaboom():
       
    21     tuple()[0]
       
    22 
       
    23 import wx
       
    24 def badaboomwx():
       
    25     wx.CallAfter(badaboom)
       
    26 
       
    27 from threading import Timer
       
    28 a = Timer(3, badaboom)
       
    29 a.start()
       
    30 
       
    31 b = Timer(6, badaboomwx)
       
    32 b.start()
       
    33 """
    18 ]]>
    34 ]]>
    19 </Python>
    35 </Python>