Exemple #1
0
 def __init__(self, *stubs):
     ExitStack.__init__(self)
     self.stubs = stubs
     for each_stub in stubs:
         self.enter_context(each_stub)
Exemple #2
0
 def __init__(self, *stubs):
     ExitStack.__init__(self)
     self.stubs = stubs