示例#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()
示例#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()
示例#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()
示例#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()