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