def testJoinKill(self):
        def child(i):   
            Tasklet.sleep(1000)
        
        def killer(t):
            t.kill()

        ch1 = Tasklet.new(child)(1)
        ch2 = Tasklet.later(1, killer)(ch1)  

        try:
            Tasklet.join(ch1)
            self.fail('expected join error')
        except JoinError, e:
            self.assertEquals(ch1, e.tasklet) 
            self.assertTrue(isinstance(e.cause, TaskletExit))
Return the Id of an object.
dataset/ETHPy150Open concurrence/concurrence/test/testcore.py/TestTasklet.testJoinKill--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/workbench/debug/debug_view.py/DebugViewModel._get_id