예제 #1
0
 def testExecute(self):
     f1 = future(target=self.__add, args=(10,12))
     self.assertEqual(f1.get(), 22)
예제 #2
0
 def testConstructor(self):
     f = future(target=self.__add)