

def testBlock(self):
    d = Deque()
    Tasklet.later(1.0, d.append)(20)
    s = time.time()
    self.assertEquals(20, d.pop(True))
    e = time.time()
    self.assertTrue(((d - s) > 1.0))

dataset/ETHPy150Open concurrence/concurrence/test/testdeque.py TestDeque.testBlock/VarMisuse@66/74 `e`->`d`