Exemplo n.º 1
0
 def tearDown(self):
     from OFS.Uninstalled import broken_klasses
     from OFS.Uninstalled import broken_klasses_lock
     broken_klasses_lock.acquire()
     try:
         broken_klasses.clear()
         broken_klasses.update(self.broken_klasses_OLD)
     finally:
         broken_klasses_lock.release()
Exemplo n.º 2
0
 def tearDown(self):
     from OFS.Uninstalled import broken_klasses
     from OFS.Uninstalled import broken_klasses_lock
     broken_klasses_lock.acquire()
     try:
         broken_klasses.clear()
         broken_klasses.update(self.broken_klasses_OLD)
     finally:
         broken_klasses_lock.release()
Exemplo n.º 3
0
 def setUp(self):
     from OFS.Uninstalled import broken_klasses
     from OFS.Uninstalled import broken_klasses_lock
     self.broken_klasses_OLD = {}
     broken_klasses_lock.acquire()
     try:
         self.broken_klasses_OLD.update(broken_klasses)
         broken_klasses.clear()
     finally:
         broken_klasses_lock.release()
Exemplo n.º 4
0
 def setUp(self):
     from OFS.Uninstalled import broken_klasses
     from OFS.Uninstalled import broken_klasses_lock
     self.broken_klasses_OLD = {}
     broken_klasses_lock.acquire()
     try:
         self.broken_klasses_OLD.update(broken_klasses)
         broken_klasses.clear()
     finally:
         broken_klasses_lock.release()